LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Two nics on the same network, how? (https://www.linuxquestions.org/questions/linux-networking-3/two-nics-on-the-same-network-how-344652/)

geraldomanaus 07-19-2005 09:36 AM

Two nics on the same network, how?
 
Hello friends,

A long time that I'm tring to use two nics on the same network, for example, eth0 192.168.0.1 netmask 255.255.255.0 and eth1 192.168.0.2 netmask 255.255.255.0 but always one of them stop.
How may I solve this, friends?

ilnli 07-19-2005 09:45 AM

yes this is a problem in linux you can't give the ip's of same network to two lan cards you have to change the network like to one card give ip like

192.168.0.1 smask 255.255.255.0
and to other card give ip
192.168.1.1 smask 255.255.255.0

mhallbiai 07-19-2005 10:46 PM

it is known as arp-flux
you can read more about it here:
http://lists.us.dell.com/pipermail/l...ne/015283.html
http://linux-ip.net/html/ether-arp.html#ether-arp-flux
http://linux-ip.net/html/routing-selection.html
http://linux-ip.net/html/routing-rpdb.html

if you are wanting to use both NICs on the same network i suggest to use bonding. if you need multiple IPs then use virtual interfaces (eth0:1, eth0:2, ...)

hope this helps


All times are GMT -5. The time now is 02:33 PM.