LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-13-2012, 07:23 AM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 180

Rep: Reputation: 24
Arrow Meaning of fields in routing table - Debian Squeeze


Hi everyone,
Below is my current routing table:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
What is the meaning of fields Flags, Metric, Ref, and Use? What do U and UG mean under Flags, and the 0's under Metric, Ref, and Use?
Thanks.
 
Old 11-13-2012, 08:27 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,828

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Open a konsole, run 'man route' without quotes and read the man page, its all there.

For example, the Flags field.

Quote:
Flags Possible flags include
U (route is up)
H (target is a host)
G (use gateway)
R (reinstate route for dynamic routing)
D (dynamically installed by daemon or redirect)
M (modified from routing daemon or redirect)
A (installed by addrconf)
C (cache entry)
! (reject route)
So, UG says the route is up, and it is a gateway.
 
1 members found this post helpful.
Old 11-13-2012, 08:39 AM   #3
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by camorri View Post
Open a konsole, run 'man route' without quotes and read the man page, its all there.

For example, the Flags field.



So, UG says the route is up, and it is a gateway.
Great! Thanks a lot! I am adding to your reputation right now and marking this as SOLVED right now.
 
  


Reply


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
dynamic routing in debian (squeeze) book Linux - Networking 3 08-01-2012 05:54 PM
Debian 3 NIC static routing table crashsystems Linux - Networking 3 11-09-2006 12:58 AM
changing routing table in Debian sarge linian Linux - Networking 2 07-26-2006 12:14 AM
Linux TCP/IP Stack: meaning of some fields Mr.Bloom Programming 2 04-11-2006 03:18 PM
No Routing table in debian tbartolucci Linux - Networking 2 06-18-2004 10:20 AM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration