Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Linux RedHat with 2 Network adapters
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. RedHat Linux
    By moidtech in forum Linux - General Topics
    Replies: 4
    Last Post: 02-23-2007, 03:19 PM
  2. redhat linux 9
    By dontknowmewho in forum Linux - General Topics
    Replies: 1
    Last Post: 02-15-2006, 04:17 PM
  3. Dual graphics adapters, dual monitors?
    By SwampDonkey in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 01-10-2003, 05:12 AM
  4. What I Like About RedHat Linux
    By Clay in forum Windows - General Topics
    Replies: 0
    Last Post: 12-14-2002, 01:57 AM
  5. redhat in nt network
    By DonCorleo in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 08-22-2002, 07:45 AM

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
  •