Communications and Wireless
1849537 Members
6797 Online
104044 Solutions
New Discussion

Configuring 2 different gateways !

 
Ivan Azuara
Regular Advisor

Configuring 2 different gateways !

Hi !

Can i configuring 2 different gateways ?. For example:

a) I have 3 LANICS. lan0, lan1 and lan2.

lan0 and lan1 use the gateway : 130.10.17.241 (actually), and i want to add a third LANIC (lan2), using the 177.219.1.186 gateway.

How can i defined the information about the three cards in the netconf file ?.


Thank´s in advance
"Enjoy the life .."
1 REPLY 1
Naveej.K.A
Honored Contributor

Re: Configuring 2 different gateways !

u can add different routes for different networks.

u can configure the cards using sam and the information will get updated in the netconf file automatically. for the gateway part of thing, u can define the default gateway and then for the x.x.x.x network u can put the following entry in the netconf file....


ROUTE_DESTINATION[1]="X.X.X.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=177.219.1.186"
ROUTE_COUNT[1]=0
ROUTE_ARGS[1]="0"

When you add a default gateway using SAM it will put something like the following in netconf file

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="130.10.17.241"
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]="0"

with best wishes
naveej
practice makes a man perfect!!!