1833317 Members
2904 Online
110051 Solutions
New Discussion

netconf q's ..

 
SOLVED
Go to solution
someone_4
Honored Contributor

netconf q's ..

Hello ..
I have some questions about the netconf file. I have read that :

"If you have more than one interface to configure, you must have a complete set of internet configuration parameters for each interface. The index value must be different for each additional interface. The network interface name in lanscan corresponds to the INTERFACE_NAME[x] in the internet configuration parameters. "

Here is a peice of the netconf file on one of my servers.


INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.169.10.71
SUBNET_MASK[0]=
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

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

GATED_ARGS=""

IP_ADDRESS[1]=192.169.20.71
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=192.169.20.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0

what will happend upon reboot with the entries for lan0 blank? Will the interface still come up even though it does not specify up? I am just wondering because over all to me this does not look to good.

Thanks

Richard



2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor
Solution

Re: netconf q's ..

Richard,

I usually don't care entries other than INTERFACE_NAME,
IP_ADDRESS, SUBNET_MASK and DHCP_ENABLE for the lan interfaces. For ROUTER definition, we almost need all the statements particularly if you are not using the default mask and if you have any static routes defined on the system.

Nothing will happen. The interface will come up alright if there are blank entries. Index must be different.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Helen French
Honored Contributor

Re: netconf q's ..

Hi Richard,

The parameters seems fine. After reboot both interface should come up and should works fine as different networks.

The "" means 'default' values. If you don't specify the values, the system will take "" as the default value. The default value for INTERFACE_STATE is 'UP'

HTH,
Shiju

Life is a promise, fulfill it!