Re: Gateway question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 10/08/2016 15:28, Jonathan Billings wrote:
On Wed, Aug 10, 2016 at 09:29:15AM +0300, Levente Birta wrote:
I read the document again ... and this talk about accessing this multi-homed
host from the internet...
I have all this configured and working!

You say this is working because of the output here?

# ip route show                                                                default via 192.168.1.1 dev enp3s0
default via 192.168.1.1 dev enp2s0
169.254.0.0/16 dev enp2s0  scope link  metric 1002
169.254.0.0/16 dev enp3s0  scope link  metric 1003
192.168.1.0/24 dev enp2s0  proto kernel  scope link  src 192.168.1.12
192.168.1.0/24 dev enp3s0  proto kernel  scope link  src 192.168.1.13


Yep...

default is:
# ip route show
default via 192.168.1.1 dev enp2s0
169.254.0.0/16 dev enp2s0  scope link  metric 1002
169.254.0.0/16 dev enp3s0  scope link  metric 1003
192.168.1.0/24 dev enp2s0  proto kernel  scope link  src 192.168.1.12
192.168.1.0/24 dev enp3s0  proto kernel  scope link  src 192.168.1.13

and this way not work

Then with the following command:
#route add default gw 192.168.1.1 dev enp3s0

Hurray ... work :)


--
           Levi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux