www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Can't access my second ip after several minutes

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
ccipa



Joined: 03 Dec 2013
Posts: 4

PostPosted: Tue Dec 03, 2013 8:32 am    Post subject: Can't access my second ip after several minutes Reply with quote

Hello,

I setup a Zeroshell with 2 network cards on an ESXi dedicated server (62.210.136.19).

I removed all ip on interface, then i added my 2 failover ip :
ip 212.83.142.7 mask 255.255.255.255 on first card
ip 212.83.145.194 mask 255.255.255.255 on second card

Then i setup the route :
sudo route del -net 192.168.250.0 netmask 255.255.255.0 gw 0.0.0.0

sudo route add 62.210.136.1 dev ETH00
sudo route add default gw 62.210.136.1 dev ETH00

sudo route add 62.210.136.1 dev ETH01 metric 1
sudo route add default gw 62.210.136.1 dev ETH01 metric 1

It works, i can ping my both interface 212.83.142.7 and 212.83.145.194 but after several minutes (2 or 9 or 25, it's random), one of the 2 interface is unreachable.

On the web interface, both cards are online (one receive/send packet, the other only receive packet).

I used the same configuration on a debian and it works forever.

I didn't find anything into the logs, do you have an idea ?

Best regards
Back to top
View user's profile Send private message
JamesR



Joined: 30 Jan 2013
Posts: 31

PostPosted: Sun Dec 29, 2013 8:19 pm    Post subject: re: Can't access my second ip after several minutes Reply with quote

I'm not following your problem all that well but perhaps you have an IP conflict? This is plausible because it seems like you may be trying to bring up another set of NICs.

Assuming your client is on the same subnet, you might use the ARP command to look a the arp table mapping when the connection is good vs. when it is not. If the ARP mapping changed, you might be able to determine what devices are conflicting and further troubleshoot.

James
Back to top
View user's profile Send private message
ccipa



Joined: 03 Dec 2013
Posts: 4

PostPosted: Mon Jan 06, 2014 9:44 am    Post subject: Reply with quote

Hello JamesR,

Thank you for your answer, i just tried what you said :

When both ip works, the ARP command answer :
62-210-136-1.rev.poneyt either bc:16:65:xx:xx:xx C ETH01
62-210-136-1.rev.poneyt either bc:16:65:xx:xx:xx C ETH00

Then after some min only 1 ip works, the ARP command answer :
62-210-136-1.rev.poneyt either bc:16:65:xx:xx:xx C ETH01
Back to top
View user's profile Send private message
ccipa



Joined: 03 Dec 2013
Posts: 4

PostPosted: Mon Jan 06, 2014 11:12 am    Post subject: Reply with quote

I tried the new version 3.0.0 and i have the same problem... Evil or Very Mad
Back to top
View user's profile Send private message
ccipa



Joined: 03 Dec 2013
Posts: 4

PostPosted: Mon Jan 06, 2014 11:21 am    Post subject: Reply with quote

My last config is :
sudo route del -net 192.168.250.0 netmask 255.255.255.0 gw 0.0.0.0

sudo route del default gw 62.210.136.1

sudo route del 62.210.136.1 dev ETH00
sudo route add 62.210.136.1 dev ETH00 metric 2
sudo route add default gw 62.210.136.1 dev ETH00 metric 2

sudo route del 62.210.136.1 dev ETH01
sudo route add 62.210.136.1 dev ETH01 metric 1
sudo route add default gw 62.210.136.1 dev ETH01 metric 1

When i can't acces internet on both, i just have to change "metric 2" to "metric 0" and launch this script

It works 5 min and i can't access it.

I have to change the "metric 0" to "metric 2" and it works again for several minutes...

I don't reach to have a permanent access on both ip
Back to top
View user's profile Send private message
ewoutdenheijer



Joined: 30 Jul 2013
Posts: 4

PostPosted: Tue Jan 14, 2014 5:03 pm    Post subject: Zeroshell responds to just 5 pings after reboot Reply with quote

Hi,

I'm trying out version 3.0.0 and it apears i have the same problem as the people above.

I'm using a Soekris 6501.

I connected a pc to eth0 set the pc's ip to 192.168.0.74/24

I changed nothing in Zeroshell.

I start a ping to 192.168.0.75 and then i boot Zeroshell.

after a while it responds to 5 pings and then nothing...

I hope anyone knows whats going on? Thanks!

Update:
Previously I was using 2.0 rc 2, now i updated to 2.0 rc 3 without problems. So this must be a 3.0.0 thing...
Back to top
View user's profile Send private message
ewoutdenheijer



Joined: 30 Jul 2013
Posts: 4

PostPosted: Tue Jan 28, 2014 12:19 am    Post subject: Reply with quote

Does anyone have any idea how to fix this?
I'd like to upgrade but so far i can't get the network working...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell 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


Powered by phpBB © 2001, 2005 phpBB Group