I have an AIX box connected to two different networks and I need to define two different default gateways so that users from both networks can access it. I am having trouble figureing out the best way to do this.
Thanks in advance for your suggestions.
You cannot assign 2 different default gateways, hence the term default. You can assign it one, and your users from both networks will be able to access the machine (depending on your network configuration)
OK, let me describe the situation better.
I have 2 T1s connecting to the box through two different ISPs and two differnet subnets. I intend to setup VPNs to about 300 users on one network and 500 on the other.
That is why I need to setup gateways for both cards in the box.
I've been playing with gated but it is turning to be a real pain in the butt.
Any help would be appreciated.
a working example from our implementation. these two class B networks cannot see each other and most of our servers have both. in this example, 199.123.3.126 is the switch for the second network.
usually we have this scripted like so:
print "adding routes to the ${privbase}.${oct}.0 and ${privbase}.${oct}.128" "networks via ${gateway}..."
print "$(mkdev -t inet) ... \c"
print "$(chdev -l inet0 -a route=net,-hopcount,1,-netmask,${netmask},${privbase}.${oct}.0,${gateway})" "... \c"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.