New answers tagged

0

So, for anyone reading, i have managed to solve this. Zebra's Static Routes which allows me to have 2 routes for the one subnet. I had to remove the original route on the cloud box, and then zebra took over and all traffic is sent between those 2, equally... happy days!


0

I know this is an old question, but i found this when looking for something else... Looks like Windows Server 2012 R2 has BGP support in it.


0

When you add an IP address to a specific interface (let it be by DHCP or manually with ifconfig), linux kernel will add this IP's subnet's route as being on that specific interface. This is because logically you are part of the subnet. Possible issues would be: The DHCP server is not giving you the right IP from the right subnet (the subnet you try to ...


0

Routes on both sides of the VPN tunnel are required. Also IP Routing must be enabled on the server. For example on Windows 7: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] "IPEnableRouter"=dword:00000001 Lets assume the following IPs and subnets: Client side subnet 192.168.0.0/24 Client IP 192.168.0.2 Client VPN IP 10.8.0.2 ...


0

For devices are managed by Network Manager can use the utility nmcli nmcli dev list iface eth0 | grep IP4-SETTINGS.GATEWAY: | awk '{ print $2}' For ppp0 in my case it's 0.0.0.0


0

For the ppp0 device you can query the IP address of the peer with ip addr show ppp0. However, you don’t even need one, as for a point-to-point device like ppp0 you can simply set the route only to the interface, omitting the router IP.


0

As @Alex mention netstat -r, if that's not available there is also another way: $ ip route list dev eno1 default via X.X.X.X proto static metric 100 X.X.X.X/24 proto kernel scope link src X.X.X.X metric 100 $ replace eno1 with your device. dhclient -R routers - I can't test it, as I don't have dhcp set-up anywhere.


0

This command will give you all the routes set in your Linux machine, including gateway: route -n



Top 50 recent answers are included