Results 1 to 4 of 4

Thread: Linux RedHat with 2 Network adapters

  1. #1

    Linux RedHat with 2 Network adapters

    Hi,

    I have a Linux machine with 2 Network adapters on the same segment.
    I have some arp problem.

    eth0 - 172.28.53.151
    eth1 - 172.28.53.161

    when I ping the eth0 or the eth1 from a remote computer and then I do
    "arp -g" I get the same mac address for both of the IPs.

    it's always the mac address of eth1.
    another thing is when I disable eth1 I can't access the machine at all. when I disable eth0 I can still reach the machine with eth1.
    how can I fix the arp problem. ( they are 2 physical separated cards)
    Thanks a lot.

    Elad

  2. #2
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    It sounds as if one NIC is proxying for the IP other.
    You may need to disable proxy arp on both interfaces. This is usually the default, but you can force it by making the proxy_arp files have a single "0" inside them instead of a "1".

    echo 0 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
    echo 0 > /proc/sys/net/ipv4/conf/eth1/proxy_arp

    You may also need to clear the arp tables of all the other servers and routers on the network.

  3. #3
    Thanks! it worked

  4. #4
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    Remember to put the statements in your /etc/rc.local file so that they will still remain in effect after your next reboot.

Similar Threads

  1. Linux security is a 'myth', claims Microsoft
    By genesis in forum Windows - General Topics
    Replies: 4
    Last Post: 01-30-2005, 10:51 PM
  2. Troubleshooting Home Networking
    By CoolJsa14 in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 09:05 PM
  3. Network Tutorial
    By Waka-Gashira in forum Windows - General Topics
    Replies: 3
    Last Post: 01-05-2005, 04:05 AM
  4. PCMCIA nic on peanut linux
    By rioguia in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 07-05-2002, 05:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •