From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97076582217682.tru64-unix-managers.marc@archive.invalid> From: George Gallen Date: Thu, 05 Oct 2000 17:12:18 +0000 To: tru64-unix-managers Subject: routing issue with 2nd NIC X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97076582217682 I added in the second NIC to allow isolating printers. I'm now in the phase of testing the NIC. (10.10.155.24) sl0 || || (modem) || sl0 (10.10.150.25) 100mbs | NIC#2 (10.10.150.29) -[2100]- NIC#1 (10.10.150.30) | | |---[5 port 10/100 switch] [10.10.150.x hubs] 10mbs | | [16 port hub] --+ [switch to 10.10.x.x] | \ | `--10.10.150.23 10.10.150.26 Since the tu1 is set at 100, I needed to use a 10/100 switch to allow the 10only hub to be hooked to this NIC lan. Below are the routing tables I currently use: Route Tree for Protocol Family 2: default 10.10.1.1 UG 0 3475 tu0 10 10.10.150.30 U 36 68860 tu0 10.10.155.24 10.10.150.25 UH 2 1658 sl0 10.10.155.26 10.10.150.25 UH 0 0 sl0 10.10.155.27 10.10.150.25 UH 0 27 sl0 10.10.155.29 10.10.150.25 UH 0 0 sl0 127.0.0.1 127.0.0.1 UH 6 5774 lo0 Basically, If the address isn't a 10 or one of the 10. series then I want it to to 10.10.1.1 (gw) to the internet, out to the intranet if it's a 10. and to the slip port if it's one of the 10.10.155.x My ifconfig for tu0 tu0: flags=c63 inet 10.10.150.30 netmask ff000000 broadcast 10.255.255.255 ipmtu 1500 My ifconfig for tu1 (DE-500-AA) tu1: flags=c63 inet 10.10.150.29 netmask ff000000 broadcast 10.255.255.255 ipmtu 1500 When I connect the tu1 port to the switch, the connection light goes on and the 100mbs light goes on (ewb0_mode is set to fast). And I set the speed for tu1 to be 100 using ifconfig. (when I set tu1 for fastfd, the Full duplex light did NOT go on..not sure why), so I'm sticking with half. I first added in: 10.10.150.29 10.10.150.29 UH 0 0 tu1 10.10.150.26 10.10.150.29 UH 0 0 tu1 10.10.150.23 10.10.150.29 UH 0 0 tu1 Now, If I ping 10.10.150.29 (the card), I get a positive response (although the lights on the switch the card is hooked to doesn't blink). If I ping 10.10.150.26 or 10.10.150.23, I get nothing back, not even any blinking on the switch (to show traffic). Occaisionally, there is a blink on the switch and a corresponding tcpdump show a LAT packet, I don't have tcpdump setup on the linux machine so I can't verify that it made it out of the switch. On the 10.10.150.26 machine (linux), I have a route setup as: 10.10.150.0 10.10.150.29 ugh 0 0 eth0 If from the linux machine above, I do a ping 10.10.150.29 (the 2nd NIC) I get blinking on the switch for both the hub end and the 2nd NIC, but tcpdump isn't showing any traffic on tu1 Is my routing setup properly? or might there be a problem with NIC? George George Gallen Senior Programmer/Analyst Accounting/Data Division ggallen@slackinc.com ph:856.848.1000 Ext 220 SLACK Incorporated - An innovative information, education and management company http://www.slackinc.com