Answers for "Default gateway -linux"

1

Default gateway -linux

sk@sk:~$ ip route show
default via 192.168.1.1 dev eth1  proto static 
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.100  metric 1
Posted by: Guest on July-27-2021
-1

linux change default gateway

ip route add default gw {IP-ADDRESS} {INTERFACE-NAME}
Posted by: Guest on November-09-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language