Operating System - OpenVMS
1753798 Members
8178 Online
108805 Solutions
New Discussion юеВ

Dual NIC and not Routing

 
Emerson L Beach
New Member

Dual NIC and not Routing

Have dual NIC's in a machine and do not want to route, just to have different default gateways for each subnet (essentially just use the subnets to load balance).

Both interfaces look fine, ping fine, but can only telnet from one, other one can only telnet locally. Seems to be some sort of issue about routing/only one default gateway, but not sure what to do. HELP.
TCPIP> show interface /full
Interface: WE1
IP_Addr: 170.85.113.16 NETWRK: 255.255.255.128 BRDCST: 170.85.113.127
Cluster
C_Addr: C_NETWRK: C_BRDCST:
Ethernet_Addr: AA-00-04-00-21-04 MTU: 1500
Flags: UP
RECEIVE SEND
Packets 27825 13419
Errors 0 0
Collisions: 0

Interface: WE0
IP_Addr: 10.209.130.10 NETWRK: 255.255.255.0 BRDCST: 10.209.130.255
Cluster
C_Addr: C_NETWRK: C_BRDCST:
Ethernet_Addr: 00-00-F8-01-AA-DC MTU: 1500
Flags: None

TCPIP> show route

DYNAMIC

Type Destination Gateway

DN 0.0.0.0 170.85.113.1
AN 10.209.130.0/24 10.209.130.10
DN 127.0.0.0/ 8 127.0.0.1
AH 127.0.0.1 127.0.0.1
DN 170.85.113.0/25 170.85.113.16
DH 224.0.0.9 127.0.0.1
TCPIP> ifconfig -a
TN0: flags=80
WE1: flags=c43
HWaddr aa-00-04-00-21-04
inet 170.85.113.16 netmask ffffff80 broadcast 170.85.113.127 ipmtu 1500
WE0: flags=c43
HWaddr 00-00-f8-01-aa-dc
inet 10.209.130.10 netmask ffffff00 broadcast 10.209.130.255 ipmtu 1500
LO0: flags=100c89
inet 127.0.0.1 netmask ff000000 ipmtu 4096
3 REPLIES 3
Thomas Ritter
Respected Contributor

Re: Dual NIC and not Routing

Emerson, you may have the wrong forum. Complications with multi homed hosts is to ensure that if a request enters one interface it leaves the same interface. FTP will typically complain. Is your network firewalled ?
Best is to have one default route and some static routes.

All of our hosts have three interfaces. One default and lots of statis routes. No other way to do it.

Thomas :)


Andy Bustamante
Honored Contributor

Re: Dual NIC and not Routing


>> just to have different default gateways for each subnet

A default gateway is by definition the final gateway attempted if there is defined route. You can't have more than one in a system. In your situation with multiple subnets on one system, you need to decide which subnet default traffic is routed to.

If desired, you can define static routes to force selected traffic to the second subnet.

Andy
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Emerson L Beach
New Member

Re: Dual NIC and not Routing

I guess it is my vocabulary, I really do not mean default gateways. What I need to happen is for all the traffic to/from 170.85.0.0 networks to exit on the 170.85.113.16 NIC, and all the traffic to/from 10.0.0.0 to go out of the 10.209.130.10 NIC, but I do not want the OpenVMS machine to do any routing.

Type Destination Gateway

DN 0.0.0.0 170.85.113.1
AN 10.209.130.0/24 10.209.130.10
DH 127.0.0.1 127.0.0.1
AN 170.85.0.0/25 170.85.113.1
DN 170.85.113.0/25 170.85.113.16

This is what we backed out to today. I had a static route configure for 170.85.0.0/16 170.85.113.1 (the router on that subnet), and the default route was 0.0.0.0 and 10.209.130.1 (the router on that subnet)but this did not seem to allow proper access of the machine at all times (and the only way we do so is IP via telnet). There are no firewalls inside these subnets, and pinging always worked, it was only telneting from one subnet to the other that did not work.