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

Re: Problems getting 2 NICs to work.

Am Di, den 18.05.2004 schrieb Kevin Kimmell um 15:35:

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

No, /etc/rc.local is absolutely the wrong place for any network setup

> 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
>   U     0      0        0 eth0
>   U     0      0        0 eth0
>       U     0      0        0 lo
>         UG    0      0        0 eth0

Ok, both IPs are routed over eth0.

> [root dtweb02 sysconfig]# ip route list
> dev eth0  scope link
> dev eth0  scope link
> dev lo  scope link
> default via dev eth0

Same here.

> [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 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 brd scope global eth0
>     inet brd 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

eth1 is not used anyway as it has no IP. Both IPs are assigned to eth0.
Curious that those different nets can be bound to one physical device.
Can someone shed any light on this?

> 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?

Sorry, misunderstanding: I asked for the contents of
/etc/sysconfig/network-scripts/ifcfg-eth0 and
/etc/sysconfig/network-scripts/ifcfg-eth1, to see how you configured
both ethernet devices. Additional, what does "ifconfig -a" report?


Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
Sirendipity 16:52:28 up 5 days, 14:37, load average: 0.72, 0.43, 0.37 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]
             my life is a planetarium - and you are the stars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

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