How do I set the default gateway route in Linux?

How do I set the default gateway route in Linux?
Answer
Type. sudo route add default gw IP Address Adapter . For example, to change the default gateway of the eth0 adapter to 192.168. 1.254, you would type sudo route add default gw 192.168.
 

Tìm kiếm

Back
Top