Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

All Questions

Tagged with
0
votes
1answer
1k views

How does Linux choose between default gateways?

I have a computer with two NICS, one eth one wlan. wlan is on 10.0.0.0/24 eth is on 192.168.0.0/16 Kernel routing table is: $ route -n Kernel IP routing table Destination Gateway ...
3
votes
1answer
6k views

NAT box with multiple internal and external interfaces

Similar questions have been asked before but my setup is a little different and the solutions to those questions are not working. A have a CentOS 6 server running iptables with 5 interfaces: eth0: ...
1
vote
1answer
3k views

IPv4 broadcast routing in Linux

I have a server with three network interfaces- loopback interface lo and two physical network interfaces eth0 and eth1: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN ...
6
votes
5answers
38k views

Can I prevent a default route being added when bringing up an interface?

I have a system with two NICs on it. This machine, and a few accompanying devices will be moved and attached to different LANs or sometimes it'll be using dial-up. eth0: - 10.x.x.x address ...