Re: Problems getting 2 NICs to work.

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

 



Below are the contents of the config files. And as for how it's working... my guess is that it's working because I'm running both of those class C's out of the same ethernet interface on the same router. All of the switches on my public network share the traffic of both ranges. Therefor that same eth port on the linux box is plugged in to a switch that has direct access to both ranges.


[root@dtweb02 network-scripts]# cat ifcfg-eth0 # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. ONBOOT=yes USERCTL=no PEERDNS=no TYPE=Ethernet IPADDR=12.168.88.12 DEVICE=eth0 HWADDR=00:0E:7F:37:5B:53 BOOTPROTO=none NETMASK=255.255.255.0

[root@dtweb02 network-scripts]# cat ifcfg-eth01
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet
IPADDR=204.117.218.12
DEVICE=eth0
HWADDR=00:0C:72:30:52:53
BOOTPROTO=none
NETMASK=255.255.255.0

++ Kevin Kimmell + kevin_AT_dynamictrend.com + Dynamic Trend, Inc. ++



Alexander Dalloz wrote:

[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



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







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

  Powered by Linux