Monday, September 25, 2006

七年級資料更新

7F 7 方伯恩 - No BIRP found
7E 1 鄭春苗 - No BIRP IDate & VDate

3Com 4924 password failed

... silly... modified 3Com 4924 password... the password is changed, but I can't login with the new one... How could I!!!!

Sunday, September 24, 2006

Problem: NLSTRAP.NLM

The module seems to block the server at startup. Each time BACH is restarted, it gets stuck on loading NLSTRAP.NLM. BACH is then required to be switched off manually, and can then be started up successfully.

Same problem will happen again when the server is restarted. This is not seen in other servers.

VLAN tagging

Tagging is used when a single port serves more than one VLAN. Workstations, which lie on the edge within anetwork, are not neccessarily tagged on; instead, port based tagging should be used. The port connecting the workstation can used an untagged port.

Links between two switches should use tagged ports when they're serving more than one VLAN.

BACH has to be tagged because it serves more than one network and the tags provide the information for distinguishing the origins of the packets it receives. DHCP Server running on BACH distributes IPs to clientson different subnets based on VLAN.

BACH NIC Configuration for VLAN setup

This is the tentative setup for BACH to run VLANs:

2 NICs:
  • B57_1_EII: the board is for the default network (172.16.0.0/16), and should be teamed up with the other NIC once the VLAN is setup.
  • B57_2_EII: the board is for VLAN setup. All networks go to this NIC and a DHCP server serves here

DHCPSRVR debug mode

DHCPSRVR runs with no console screen by default. To run in different debug modes, use DHCPSRVR -d1 orDHCPSRVR -d2.

INETCFG & NETINFO.CFG

NETINFO.CFG is the file for NIC setup when the server boots up. The file is used by INETCFG and should not be tampered. Each time INETCFG is run, it will first examine the checksum of the file against NETINFO.CHK,which contains the checksum of the current state of NETINFO.CFG. INETCFG aborts if the checksum is notthe same as the one contains in NETINFO.CHK.

To bypass the checksum, close INETCFG and simply delete NETINFO.CHK. NETINFO.CFG can then be modifiedmanually. The next time INETCFG is launched, it will not examine the checksum anymore.

The commented lines in the NETINFO.CFG also contains the information of the NIC configurations. The commented and the uncommented lines will check against one another each time the server boots up. IfNETINFO.CFG has to be changed manually, the commented lines should also be checked and changed too.

During the VLAN setup, B57_2_EII (Slot 10017) is started with SPEED=AUTO and RxBuffers=200 parameters.The two parameters look like default configuration, and are present in the NETINFO.CFG. They preventthe workstations on VLAN to connect to the DHCP server, and have to be removed manually from NETINFO.CFG for the workstations on different VLANs to obtain their IPs.

VLAN startup script doesn't run on NETINFO.CFG. All setup scripts related to VLAN start up should be placed elsewhere, and should be called by AUTOEXEC.NCF.
I've written a startup script (\\BACH\sys\system\StartVLAN.ncf) to serve this purpose.

Network Down - 2006/09/20, night time

Cause:

  • large file being transferred from BACH to a certain number of clients in B403, causing failure on B403 VLAN.
  • system reboot didn't fix the problem; the reboot caused failure on all other VLANs
    all switches were OK; "Directed Broadcast" (checked enabled) was not the reason for the failure this time (DHCP won't be able to give IPs if checked disabled)

Diagnosis:

Before BACH restarted:

  • all switches restarted, and could all be ping thru 172.16.0.0/24 subnet
  • 172.16.14.0/24 (B403 subnet) was the only one that failed PING test; all other VLANs
    ping'ed

After BACH restarted

  • 172.16.0.0/24 was OK
  • all VLANs failed; DHCPSRVR couldn't receive broadcast from clients
  • NIC for VLAN connections was checked by assigning an IP on 172.16.0.0/24 and switch port swapped to the default LAN; could ping 172.16.0.0/24 and thus NIC failure was not the issue

Fix:

  • before, NETINFO.CFG (\\BACH\SYS\ETC\) was configured manually. The whole thing is re-configured using INETCFG.
  • all configs on INETCFG were first removed; and all NIC settings were reconfigured BASP and VLAN settings were done on INETCFG
  • INETCFG doesn't bind IPs on BASP and has to be done manually on the console using the
    following command:
    BASP BIND BASP_V2_EII B57_2_EII
  • An IP has to be assigned to the VLAN NIC, or else BASP cannot find the NIC name and
    BASP BIND will not work. The VLAN NIC is now assigned with 192.168.1.1/24

Things to do:

  • remove the IP on the VLAN NIC (ie. 192.168.1.1)
  • design a way so that BACH reboots properly and without manual intervention

DSEJ online registration

100: 9977
136: 2584
143: 9999
148: 5084

VLAN Setup

Location:
  • B404 Switch: 3Com 4400

Workstations for VLAN 2:
  • B404-1-7 (Port: 3)
  • B404-2-7 (Port: 16)
  • Port 50 to 3Com 4924 in B402
Workstations for VLAN 3:
  • B404-1-6 (Port: 6)
  • B404-2-6 (Port: 10)

===========================================

Location:

  • B402 Switch: 3Com 4924
  • Port 11 to 3Com 4400 in B404
  • Port 2 to DHCP Server

Procedure:

  1. B404: Setup VLAN 2 on 3Com 4400
  • Port 3 and Port 16 untagged
  • Port 50 tagged
  1. B402 Setup VLAN 2 on 3Com 4924
  • Port 2 and 11 tagged
  1. Setup on NW server (DHCP Server):
  • enter the following commands:
  • LOAD BASP.LAN FRAME=ETHERNET_II NAME=BASP_1_V2_EII VSLOT=1 VLAN=2 # create a virtual interface
  • BASP BIND BASP_1_V2_EII B57-OLD_EII # bind the virtual interface to a physical interface
  • BIND IP BASP_1_V2_EII ADDR=192.168.2.11 MASK=255.255.255.0 # bind an IP to the virtual interface
  1. Run DNSDHCP Management Console on any PC Workstation; add a DHCP subnet for distributing IPs on the 192.168.2.0 subnet. Set the address range if required.
  2. Verify by renewing the DHCP leases on the two workstations in B404
  • Note: When loading BASP.LAN, the parameters used for the virtual NIC MUST match those used for loading the REAL NIC.

My First Post

This is my first post