On Monday 05 November 2001 20:54, W.D.McKinney wrote:
Please help.
My gateway/www/firewall running 7.3 Pro has 2 NIC's :
00:0f.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30) 00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
Both work fine right now.
The network is based on a static Ip and looks like this:
ISP ----->DSL Modem--->NIC #0 (209.193.48.40)
Internal network is :
Gateway Firewall web server ___________|_________________________
(switch) MP3 server workstation
(switch#2)
|______________________________________________________________ |_____ | | | | | | | | | etc.
PC PC PC PC PC PC PC PC
Now when I set the network on the gateway/firewall/everything server, I give eth0 a static IP and DNS, but no gateway as this what my ISP sez due this being a DSL connection. For the internal network, I give eth1 a 192.168.xxx.xxx address, a gateway of 209.193.48.40, mask of 255.255.255.0 and this works fine.
Looks like this when it works:
route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 209.193.48.254 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 209.193.48.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 209.193.48.254 0.0.0.0 UG 0 0 0 ppp0
Except when I need to reboot for whatever, the network re-configures itself. It gives the gateway address of eth1 to eth0 as well, which does not work obviously. Stopping both the internal IP connection and the external IP connection. So what's the fix ? Having to be in front of this server to fix the networking after a power outage, etc., is not feasable.
By the way, 6.2 never produced this problem. I'd hate to bump back to an older version as this one is running 7.3 Pro.
Any ideas will be appreciated.
Regards
I think the Network setup in YaST2 is confusing to say the least. Specifically, when they ask for the gateway in their dropdown listbox, which has nothing in it to dropdown and display... My wife's Sony has two NICs etho: 192.168.200.2 the Cisco675 ADSL connect here eth1: 192.168.201.2 connect to NETGEAR EN104 passive hub I won't bother you with the routing table on it. My Athlon has one NIC eth0: 192.168.201.3 When I set 192.168.201.2 in the dropdown listbox marked "gateway" and don't put anything else in anyother dialog on the screen, I get the following rourting table, which works. jerry@jerrykreps:~> netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.201.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 0.0.0.0 192.168.201.2 0.0.0.0 UG 40 0 0 eth0 I found out that ifconfig in 7.3 (don't know about pre 7.3) automatically does the loopback, in two ways. "ifconfig -a" shows the hidden configs. JLK