[CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?

Johnny Hughes johnny at centos.org
Wed Jul 24 15:25:07 UTC 2013


On 07/24/2013 09:01 AM, Rock wrote:
> On Tue, 23 Jul 2013 23:03:00 -0700, John R Pierce wrote:
>
>> you should be able to get 300 feet of mostly open space with a simple 
>> panel antenna
> Understood. The Nanobridge M2 may be far more than I need.
> But, it should work as it's advertised to go five miles.
> All I need is a few hundred feet.
>
> I'll try to keep on topic though. 
>
> I think my "original" problem was what you guys sensed from 
> the start. 
>
> It was supremely frustrating having my manually typed eth0
> IP address being wiped out - but - apparently that was what
> Network Manager was supposed to do.
>
> Apparently Network Manager was set to pick up a DHCP address
> for eth0, and, when none were forthcoming, it wiped out the 
> existing IP address.
>
> I only need to figure out now how to switch gracefully between
> using wlan0 connected to the home broadband router inside the 
> house, and using eth0 wired to the Nanobridge M2 outside the 
> house.
>
> I tried setting eth0 as suggested and left wlan0 alone, but, 
> that killed the inside-the-house connection immediately. 
>
> I'm still debugging why that happened (I had figured they're 
> two totally separate cards); but maybe you can't have to NICs
> connected to the same net at the same time?
>
> Is there an easy way to tell which NIC is being used for a
> connection? Or to tell one NIC to win over the other?

I assume you have a connection with your Nanobridge M2 and that is
mostly working right now.  If that is true, then you have setup the
AirOS software.

Reading the AirOS manual, there is a mode that you can use that will
pass DHCP requests to and from the device back to your network, and
settings that will not pass that info.

Here is the AirOS manual:

http://www.ubnt.com/downloads/guides/airOS/airOS_UG.pdf

And if that is the software on your device, go to the "Network" tab and
see what you have set for the "Network Mode" ... that should be "Bridge".

Then look at the "Configuration Mode" ... that should be "Simple".

The Management Network settings should be fine as is ... (that is the IP
address that you use to connect to the AirOS via your web browser).

A Bridge/Simple setup should just connect you directly to the rest of
you network, and the dhcp settings on the rest of the network should
work on both sides of the bridge.

You should then be able to setup eth0 to use DHCP and that should make
it "just work" on both sides.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20130724/514afcf2/attachment.sig>


More information about the CentOS mailing list