Re: Problems getting 2 NICs to work.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ah... rc.local... thanks.

Here are the results that you asked to see. I'm still quite curious as to how this is actually working.

[root@dtweb02 sysconfig]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
12.168.88.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
204.117.218.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         12.168.88.254   0.0.0.0         UG    0      0        0 eth0


[root@dtweb02 sysconfig]# ip route list
12.168.88.0/24 dev eth0  scope link
204.117.218.0/24 dev eth0  scope link
127.0.0.0/8 dev lo  scope link
default via 12.168.88.254 dev eth0


[root@dtweb02 sysconfig]# ip address list
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0e:7f:30:52:53 brd ff:ff:ff:ff:ff:ff
    inet 12.168.88.12/24 brd 12.168.88.255 scope global eth0
    inet 204.117.218.12/24 brd 204.117.218.255 scope global eth0
5: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:0e:7f:30:52:52 brd ff:ff:ff:ff:ff:ff


And I couldn't get that last command to run. I tried ifcfg-ethX and ifcfg-eth0 and ifcfg-eth01 but all commands were not found. Perhaps they're not in the path?
++ Kevin Kimmell + kevin_AT_dynamictrend.com + Dynamic Trend, Inc. ++


Alexander Dalloz wrote:
Am Di, den 18.05.2004 schrieb Kevin Kimmell um 00:12:

  
Where should I be placing the default route statement so it survives reboot?
    
Delete all GATEWAY settings in 
/etc/sysconfig/network-scripts/ifcfg-ethX and use instead
/etc/sysconfig/network with GATEWAY for the default gateway and
/etc/sysconfig/network-scripts/route-ethX for the net specific routes. I
pointed you already to

http://www.akadia.com/services/redhat_static_routes.html

Did that not help?

  
Also, how is it that this is working since you didn't think it could?
    
Could you post:
a) route -n
b) ip route list
c) ip addr list
d) ifcfg-ethX

  
Did I leave out that the two ISPs live on the same switch plane on my 
publis network? That should allow for separate net segments over the 
same card since neither one has a gateway.

I checked it from traces and pings at an external source and it's working...

Thanks and WTF???????
    
Can't say.

Alexander


  

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux