Using the command ifconfig I can see which IP I have the Broadcast and Mask, but where can I see the gateway value?
In the router's menu I can see the default gateway but the value is completely different to the IP, it doesn't start by 192.168...
Using the command ifconfig I can see which IP I have the Broadcast and Mask, but where can I see the gateway value?
In the router's menu I can see the default gateway but the value is completely different to the IP, it doesn't start by 192.168...
Last edited by Canaryguy; December 28th, 2011 at 03:32 PM.
I found it
To get the gateway value you just need to use the command "route"
Sound nice - I will try....
You have to fill in the ip number of your server. Do you have the correct one? If it changes every time then you have to run ifconfig
If you don't want it to change each time, you can probably fix that in your switch or router.Code:/sbin/ifconfig eth0
ping it to check if it's reachable from your machine.
Code:ping 192.168.0.102
Bookmarks