Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2009 14:12:44 +0300
From:      "Odhiambo Washington" <odhiambo@gmail.com>
To:        "Pieter Donche" <Pieter.Donche@ua.ac.be>
Cc:        "mail.list freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Re: 2 networkcards in 1 system
Message-ID:  <991123400901130312g1df4dda3rbace744ef9b944c4@mail.gmail.com>
In-Reply-To: <Pine.GSO.4.63.0901131202400.16469@hmacs.cmi.ua.ac.be>
References:  <Pine.GSO.4.63.0901131202400.16469@hmacs.cmi.ua.ac.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 13, 2009 at 2:03 PM, Pieter Donche <Pieter.Donche@ua.ac.be>wrote:

> I installed FreeBSD-amd64 on a system which has 2 networkcards and
> configured
> 1 networkcard with its IP parameters.
>
> Now I want to add the second networkcard, and did:
> # sysinstall
>  do Post-Install Configuratio
>  Configure additional Netwerk Services
>   Configure additional network interface
>  and selected em1 and gave it its IP parameters
>   (I used the same hostname macos.cmi.ua.ac.be, in the DNS servers here
>    macos.cmi.ua.ac.be is assigned to two IP addresses)
>
> (After rebooting,  em1 appears in the boot messages with the correct
> Mac- and IP address.. )
>
> But I get many messages:
> Jan 13 11:05:25  macos kernel: arp: 143.129.XX.YY is on em0 but got reply
> from 00:1b:21:UU:VV:WW on em1
> Jan 13 11:54.25  macos kernel: arp: 143.129.XX.YY is on em0 but got reply
> from 03:ba:14:UU:VV:WW on em1
>
> ( 143.129.XX.YY is our gateway or other system, the MAC address
> is the mac-addres of our gateway or that other system )
>
> Why is this? How to remedy?


 You can add the following two lines to /etc/sysctl.conf:
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1

...and reboot or type, as root,

sysctl -w net.inet.tcp.blackhole=2
sysctl -w net.inet.udp.blackhole=1


>
> Or do I need to 'deconfigure' em1? How can I do that?


Edit /etc/rc.conf manually, either using ee or vi and comment out the lines
you don't want active. You have connected the two network cards to the same
switch, yes? don't do that.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Failure is the opportunity to begin again more intelligently." --Henry Ford



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?991123400901130312g1df4dda3rbace744ef9b944c4>