LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Find the linux interface gateway


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
Attached Files
File Type: txt xx.txt (2.6 KB, 14 views)
 
Old 10-02-2012, 04:32 AM   #2
muhamed.ahmovic
LQ Newbie
 
Registered: Sep 2012
Location: Bosnia and Hercegovina
Distribution: CentOS
Posts: 21

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

regards
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:05 AM.

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