- Forums
- Networking
- Show Default Gateway In Linux
to show your current default gateway in linux all you have to do is send this command [3498], Last Updated: Mon Jun 24, 2024
Webune Support
Sun Feb 28, 2010
1 Comments
409 Visits
Welcome to Webune Support
Webune Provide Linux Dedicated Servers!!!
if you have a linux server, its often necessary to change your network settings from the command line
to show your current default gateway in linux all you have to do is send this command:
SHELL COMMAND:
route
then you will get and output that looks like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.0.0.254 0.0.0.0 UG 0 0 0 eth0
https://www.webune.com/forums/show-default-gateway-in-linux.html