- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: route add
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 10:56 PM
11-15-2004 10:56 PM
route add
I pretend that all the comunication that come from the IP address 10.0.2.0
go to 192.168.1.252.
The comand that I use for DOS is here :
route add 10.0.2.0 mask 255.255.255.0 192.168.1.252
# netstat -nr
Routing tables
Destination Gateway Flags Refs Use Interface
Netmasks:
Inet 255.0.0.0
Inet 255.255.255.0
Route Tree for Protocol Family 2:
default 192.168.1.254 UGS 18 69576688 tu0
127/8 127.0.0.1 UR 0 0 lo0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168.1/24 192.168.1.1 U 35 92820637 tu0
224.0.0.9 127.0.0.1 UH 0 0 lo0
thanks
Helder Lopes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 01:00 AM
11-16-2004 01:00 AM
Re: route add
assuming that you use 5.x the syntax has changed.
Adding a Route
route [-nqvC] add [-net | -host] [family] destination[/bitmask] gateway [-link] [modifiers[args]]
You do not use netmask anymore instead you use the number of bits of the net part.
example 192.168.1.1/24 = netmask 255.255.255.0
See man route.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 03:18 PM
11-21-2004 03:18 PM
Re: route add
route add -net 10.0.2/24 192.168.1.252
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 03:26 PM
11-21-2004 03:26 PM
Re: route add
#route add default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 07:04 PM
11-21-2004 07:04 PM
Re: route add
could you solve the problem? If so could you please assign points to whose who tried to help?
thanks,
Michael
http://forums1.itrc.hp.com/service/forums/helptips.do?#28