Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 fails to start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
maddios
n00b
n00b


Joined: 03 Sep 2007
Posts: 2

PostPosted: Mon Sep 03, 2007 2:22 am    Post subject: eth0 fails to start Reply with quote

Hey guys, I've been running gentoo as my personal QoS internet router.

It's configured with iptables, tc, dnsmasq


it's got two network cards,
eth0 is the LAN NIC
and eth1 is my WAN NIC

All has been well, but last night I decided to get my box to reboot normally (enabled ACPI) and now whenever I try to start net.eth0 i get an error message stating "192.168.0.1 already taken by eth0".
How could that be? I'm restarting/starting eth0 itself and it's set to use 192.168.0.1.

Please help, I've switched my box to use 192.168.0.2 in /etc/conf.d/net but i generally don't like not knowing why this went bad, I can use any ip other than .1 in my config file.

The config file is as follows:
config_eth1=( "dhcp" )
dhcp_eth1="nodns nontp nonis"
config_eth0=( "192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" )

config_eth0 was set to config_eth0=( "192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" ) initially and changing it to 2 made my network work again. but now using .2

And i'm not sure where else 192.168.0.1 could be defined.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Sep 03, 2007 9:04 am    Post subject: Re: eth0 fails to start Reply with quote

A guess:

Put eth0 as first.


The config file is as follows:
config_eth0=( "192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" )
config_eth1=( "dhcp" )
dhcp_eth1="nodns nontp nonis"
Back to top
View user's profile Send private message
maddios
n00b
n00b


Joined: 03 Sep 2007
Posts: 2

PostPosted: Mon Sep 03, 2007 6:12 pm    Post subject: Reply with quote

AHHH finally figured it out!

Apparently someone in my house hooked up an old DLink router as a Wi-Fi passthru but didn't disable the DHCP on it, so it was serving its own ip as 192.168.0.1, so when the router restarted it already sensed .1 from the dlink.

So now it's all good.


As far as testing this in the future. Is there a command to see the network topography in linux? It'd be nice to be able to tell all connected computers to my router and to see detailed information about them.

Thanks
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Sep 03, 2007 6:46 pm    Post subject: Reply with quote

google for vpn virtual private network

wireshark is a sniffer

I suggest you to set up a vpn => openvpn; depends on router, ....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum