04-15-2011
The -v usually displays the netmask. The routing table you show is too simple to have any netmask weirdness but you should know about the -v option anyway.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can i set an permanent route so that itīs still here after a reboot ?
i have a gateways file
Thanks
:confused: :confused: :confused: (1 Reply)
Discussion started by: redcrosskbg
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm trying to connect to a network device, with the connection follwoing the UNIX routing table we set up. Its to go via a specific network Gateway and out throught a specific Lan card (Lan4). However when trying to conenct it keeps going through Lan3 and will not get to its destination.... (3 Replies)
Discussion started by: nhatch
3 Replies
3. IP Networking
Is ther a way to retain say, a default gateway entered in a routing table after a reboot? I end up always having to re-enter my default gateway after I reboot my system.
Thanks! (4 Replies)
Discussion started by: thundrrod
4 Replies
4. IP Networking
hi all,
how to access ip routing table throgh program,
how should i integrate my rip routing table with the ip routing table :) (0 Replies)
Discussion started by: vinodkumar
0 Replies
5. AIX
i have AIX Unix with "dynamic routing table" service enabled, but i do not need this service. How i can disable this service.
thanks (1 Reply)
Discussion started by: jdsnbr
1 Replies
6. IP Networking
hi all...
i need to know, where is locate the routing table on sun solaris, how i can saved the configuration....
because when i restart the server, lost the configuration....
thank you...
Regards... (3 Replies)
Discussion started by: chanfle
3 Replies
7. IP Networking
Hi all,
I am confusing with routing table, i use linux and iptables.
i have 1 internet gateway, and 1 router for VPN.
here is my network.
eth0=192.168.0.1
eth1=192.168.100.1
192.168.0.0/24 --- eth0(Linux Box)eth1 ---(DSL)---Internet
|
... (4 Replies)
Discussion started by: blesets
4 Replies
8. Linux
Hello,
how to make entries in routing table perminent (1 Reply)
Discussion started by: teenasuresh
1 Replies
9. Red Hat
I have below routing table in linux kernel 2.6.9
# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.155.24.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U ... (5 Replies)
Discussion started by: chuikingman
5 Replies
10. IP Networking
Hello.
Is there any way to restore back the default ip routing table ?
For example, my current routing table is something like
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
109.123.95.0 0.0.0.0 255.255.255.0 U 0 ... (0 Replies)
Discussion started by: anid
0 Replies
LEARN ABOUT CENTOS
ipcalc
IPCALC(1) General Commands Manual IPCALC(1)
NAME
ipcalc - perform simple manipulation of IP addresses
SYNOPSIS
ipcalc [OPTION]... <IP address>[/prefix] [netmask]
DESCRIPTION
ipcalc provides a simple way to calculate IP information for a host. The various options specify what information ipcalc should display on
standard out. Multiple options may be specified. An IP address to operate on must always be specified. Most operations also require a
netmask or a CIDR prefix as well.
OPTIONS
-c, --check
Validate the IP address under the specified family. If no address family is specified, IPv4 is assumed.
-4, --ipv4
Specify IPv4 address family (default).
-6, --ipv6
Specify IPv6 address family.
-b, --broadcast
Display the broadcast address for the given IP address and netmask.
-h, --hostname
Display the hostname for the given IP address.
-m, --netmask
Calculate the netmask for the given IP address. It assumes that the IP address is in a complete class A, B, or C network. Many net-
works do not use the default netmasks, in which case an inappropriate value will be returned.
-p, --prefix
Show the prefix for the given mask/IP address.
-n, --network
Display the network address for the given IP address and netmask.
-s, --silent
Don't ever display error messages.
AUTHORS
Erik Troan <ewt@redhat.com>
Preston Brown <pbrown@redhat.com>
IPv6 supported wedged in by David Cantrell <dcantrell@redhat.com>
REPORTING BUGS
Report bugs at http://bugzilla.redhat.com/
COPYRIGHT
Copyright (C) 1997-2008 Red Hat, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Red Hat, Inc. April 30 2001 IPCALC(1)