Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-02-2012, 03:03 AM   #1
LQ Newbie
Registered: Mar 2010
Posts: 9

Rep: Reputation: 0
Find the linux interface gateway

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

Attached Files
File Type: txt xx.txt (2.6 KB, 10 views)
Old 10-02-2012, 04:32 AM   #2
LQ Newbie
Registered: Sep 2012
Location: Bosnia and Hercegovina
Distribution: CentOS
Posts: 21

Rep: Reputation: Disabled
Try "ip" command. "man ip"....



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to find out primary interface on RHEL Linux linux_user2011 Linux - Newbie 3 04-15-2011 12:24 AM
Per Interface Gateway Routing Jelloir Linux - Networking 2 11-17-2008 11:12 PM
Help me cant assign gateway to interface shueib Linux - Networking 10 01-02-2006 11:34 AM
ip + interface + gateway alaios Debian 3 11-12-2004 04:35 PM
Why does my internet interface keep getting a gateway silence Linux - Networking 2 06-18-2004 11:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration