Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
route 0.0.0.0/0 gw 0.0.0.0 added automatically [SOLVED]
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
lawl
n00b
n00b


Joined: 18 Jul 2014
Posts: 20

PostPosted: Sat Mar 05, 2016 12:35 pm    Post subject: route 0.0.0.0/0 gw 0.0.0.0 added automatically [SOLVED] Reply with quote

Hello. I have server with gentoo in office and somethimes I losing access from the internet to it, because it adds this strange route:
Code:
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     3      0        0 enp5s0
<...>

How I can try to define source of this route?


Last edited by lawl on Sun Mar 06, 2016 8:11 am; edited 1 time in total
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1717

PostPosted: Sat Mar 05, 2016 1:43 pm    Post subject: Reply with quote

When it happens, do you still have an IP assigned to your primary interface?

Perhaps you're using several conflicting tools for setting up your network. E.g. netifrc service and dhcpcd service really don't like each other and tend to fight over the device.
Basically to start troubleshooting this you should provide outputs of:
rc-update
route (when it works and when it fails)
ifconfig (when it works and when it fails)
Back to top
View user's profile Send private message
lawl
n00b
n00b


Joined: 18 Jul 2014
Posts: 20

PostPosted: Sun Mar 06, 2016 8:10 am    Post subject: Reply with quote

Thanks.
I think I repared this thig.
I have bridge as my main interface and it includes two eth interfaces. Don't now why, but I had one of this interfaces in dependency list of bridge interface. I remove it and now all is working fine.
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