Configuring a gateway in AIX
To configure a machine to act as a gateway, use these instructions.
For clarity, this procedure assumes that the gateway machine
connects two networks, and that the gateway machine has already been minimally
configured on one of the networks.
The gateway machine can now access both of the networks to which it
is directly attached.
is directly attached.
-
Table 1. Configuring gateway tasks Task SMIT fast path Command file Web-based System Manager Management Environment Displaying the Routing Table smit lsroute netstat -rn1 Software —> Network —> TCPIP
(IPv4 and IPv6) —> TCPIP Protocol Configuration —> TCP/IP —> Configure
TCP/IP —> Advanced Methods —> Static
Routes —> Statistics.Adding a Static Route smit mkroute route add destination gateway2 Software —> Network —> TCPIP
(IPv4 and IPv6) —> TCPIP Protocol Configuration —> TCP/IP —> Configure
TCP/IP —> Advanced Methods —> Static
Routes. Complete the following in Add/Change a static
route: Destination Type, Gateway
address, Network interface name (drop-down
menu), Subnet mask, Metric (Cost),
and the Enable active dead gateway detection check
box. Click Add/Change Route.Removing a Static Route smit rmroute route delete destination gateway2 Software —> Network —> TCPIP
(IPv4 and IPv6) —> TCPIP Protocol Configuration —> TCP/IP —> Configure
TCP/IP —> Advanced Methods —> Static
Routes. Select a route, and click Delete Route.Flushing the Routing Table smit fshrttbl route flush Software —> Network —> TCPIP
(IPv4 and IPv6) —> TCPIP Protocol Configuration —> TCP/IP —> Configure
TCP/IP —> Advanced Methods —> Static
Routes —> Delete All.
Leave a Reply