08-29-2007
AIX Routing Issue
Hello,
I've moved to a new network with multiple AIX box's. Most of them are working fine and dandy.
On one box I need to set up a static route to a gateway.. no problem right?
Whenever I add the route it appears in the routing table as UGc and then begins adding new entries to the routing table.
I dont want to add a cloning gateway. Once this route is added, there should be no new additions at all to the routing table.
so the ? is:
1. how to make a none cloning gateway
2. make it so the routing table does not update at all.
Thanks for your time.
Lost in a World of electrons and Switches
10 More Discussions You Might Find Interesting
1. AIX
Hello guys.
I have a AIX running an ip of 128.2.1.85 255.255.255.0, Main office router is 128.2.1.2 .we just got an t1 line point to point for a remote office with to pcs.
My question.
I'm not able to ping those pcs one of them is using this ip 128.2.2.128 255.255.255.0 Remote router ip... (2 Replies)
Discussion started by: josramon
2 Replies
2. UNIX for Dummies Questions & Answers
Hey all you *Nix Gurus...I got a relatively simple one for ya.
I just cloned an AIX 5.3 server without copy over the Network info. However, now I need to update the routing table on the destination server so that it mirrors the source. Aside from painstakingly, manually updating the ODM using... (1 Reply)
Discussion started by: BlitzSonik
1 Replies
3. AIX
Hi All,
I need to script a routing changes on my aix servers. I can't use smitty, very slow.
I need to delete the static routing and add a new one. I also need to change default routing.
I know using route add and route delete but I think I remember that this is not enough that's why I... (2 Replies)
Discussion started by: itik
2 Replies
4. AIX
Hi All,
I know there is a way to do this in routers. The question is whether it is posisble to do this in AIX.
For our Web Focus ODBC connection to the Disaster Recovery servers, we want to restrict the access to the ODBC ports so that only the IP address of the Web Focus server can get to... (1 Reply)
Discussion started by: strunz
1 Replies
5. IP Networking
I have an IP routing issue or I am just to stupid to work it out myself.
I have setup am old PC running SUSE Linux 11.3 as a router, the system has 3 Interfaces connecting 3 networks.
Interface 1 = 10.164.2.161/21
Interface 2 = 192.168.1.210/24
Interface 3 = 30.1.0.11/16
The default... (6 Replies)
Discussion started by: hogola
6 Replies
6. IP Networking
I have run into a wall troubleshooting a Centos 5 networking issue. Hoping someone can assist.
I've got a box with two vlans trunked over bond0
bond0 Link encap:Ethernet HWaddr 00:22:64:C1:D6:60
inet6 addr: fe80::222:64ff:fec1:d660/64 Scope:Link ... (0 Replies)
Discussion started by: creedog
0 Replies
7. AIX
I need the following solution , please help me...
Current situation
ip: 192.168.0.12 persistent and 192.168.254.12 service ip
gateway: 192.168.0.254
subnet: 255.255.255.0
i have added a new ip on a new nic
ip: 10.10.255.40
gateway: 10.10.255.62
subnet: 255.255.255.224
... (1 Reply)
Discussion started by: rajibimran
1 Replies
8. UNIX for Dummies Questions & Answers
hi guys
suse 11 SP1 x64
I have a server (4 NIC ports 192.168.100.100-103) that connects point to point to a storage device (same thing 4 ports 192.168.110.100-113) but this server connects to normal LAN 10.6.100.x - gateway 10.6.100.1
the issue is when testing connectivity to the storage... (7 Replies)
Discussion started by: karlochacon
7 Replies
9. IP Networking
Hi, The default gateway (172.17.220.1) cannot be pinged via the default interface bond0 (172.17.220.231), but can be pinged via interface eth1 (10.201.135.73).
# ping -I eth1 172.17.220.1
PING 172.17.220.1 (172.17.220.1) from 10.201.135.73 eth1: 56(84) bytes of data.
64 bytes from... (4 Replies)
Discussion started by: aixlover
4 Replies
10. Solaris
we are not able to ping client server (falcon-ebr.sbms.bsc.com) from netbackup master server (135.179.96.122 tsprd-ebr.edc.single.net)
However from client server we are able to ping the master Server.
Please assist on this (1 Reply)
Discussion started by: Rahul466
1 Replies
LEARN ABOUT PLAN9
routing
routing(7P) Protocols routing(7P)
NAME
routing - system support for packet network routing
DESCRIPTION
The network facilities provide general packet routing. The routing interface described here can be used to maintain the system's IPv4 rout-
ing table. It has been maintained for compatibility with older applications. The recommended interface for maintaining the system's routing
tables is the routing socket, described at route(7P). The routing socket can be used to manipulate both the IPv4 and IPv6 routing tables
of the system. Routing table maintenance may be implemented in applications processes.
A simple set of data structures compose a "routing table" used in selecting the appropriate network interface when transmitting packets.
This table contains a single entry for each route to a specific network or host. The routing table was designed to support routing for the
Internet Protocol (IP), but its implementation is protocol independent and thus it may serve other protocols as well. User programs may
manipulate this data base with the aid of two ioctl(2) commands, SIOCADDRT and SIOCDELRT. These commands allow the addition and deletion of
a single routing table entry, respectively. Routing table manipulations may only be carried out by privileged user.
A routing table entry has the following form, as defined in /usr/include/net/route.h:
struct rtentry {
unit_t rt_hash; /* to speed lookups */
struct sockaddr rt_dst; /* key */
struct sockaddr rt_gateway; /* value */
short rt_flags; /* up/down?, host/net */
short rt_refcnt; /* # held references */
unit_t rt_use; /* raw # packets forwarded */
/*
* The kernel does not use this field, and without it the structure is
* datamodel independent.
*/
#if !defined(_KERNEL)
struct ifnet *rt_ifp; /* the answer: interface to use */
#endif /* !defined(_KERNEL) */
};
with rt_flags defined from:
#define RTF_UP 0x1 /* route usable */
#define RTF_GATEWAY 0x2 /* destination is a gateway */
#define RTF_HOST 0x4 /* host entry (net otherwise) */
There are three types of routing table entries: those for a specific host, those for all hosts on a specific network, and those for any
destination not matched by entries of the first two types, called a wildcard route.
Each network interface installs a routing table entry when it is initialized. Normally the interface specifies if the route through it
is a "direct" connection to the destination host or network. If the route is direct, the transport layer of a protocol family usually
requests the packet be sent to the same host specified in the packet. Otherwise, the interface may be requested to address the packet to an
entity different from the eventual recipient; essentially, the packet is forwarded.
Routing table entries installed by a user process may not specify the hash, reference count, use, or interface fields; these are filled in
by the routing routines. If a route is in use when it is deleted, meaning its rt_refcnt is non-zero, the resources associated with it will
not be reclaimed until all references to it are removed.
User processes read the routing tables through the /dev/ip device.
The rt_use field contains the number of packets sent along the route. This value is used to select among multiple routes to the same desti-
nation. When multiple routes to the same destination exist, the least used route is selected.
A wildcard routing entry is specified with a zero destination address value. Wildcard routes are used only when the system fails to find a
route to the destination host and network. The combination of wildcard routes and routing redirects can provide an economical mechanism for
routing traffic.
ERRORS
EEXIST A request was made to duplicate an existing entry.
ESRCH A request was made to delete a non-existent entry.
ENOBUFS Insufficient resources were available to install a new route.
ENOMEM Insufficient resources were available to install a new route.
ENETUNREACH The gateway is not directly reachable. For example, it does not match the destination/subnet on any of the network
interfaces.
FILES
/dev/ip IP device driver
SEE ALSO
route(1M), ioctl(2), route(7P)
SunOS 5.10 9 Nov 1999 routing(7P)