LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Find the linux interface gateway (https://www.linuxquestions.org/questions/linux-newbie-8/find-the-linux-interface-gateway-4175430009/)

ghoshdastidar1980 10-02-2012 03:03 AM

Find the linux interface gateway
 
1 Attachment(s)
HI,
I want to find the gateway of interface bondeth4. From ifconfig o/p i can see that the ip is showing "10.217.49.23", & from /etc/sysconfig/network-scripts/ifcfg-bondeth4 the gateway is 10.217.202.1. But from route o/p the gateway is showing default gateway i.e 10.217.198.1. I have attached the details . Please find the attachment & if u can help me to find out the current gateway of bondeth4

Regards,
Ani

muhamed.ahmovic 10-02-2012 04:32 AM

Try "ip" command. "man ip"....

regards


All times are GMT -5. The time now is 12:15 PM.