Scott wrote: 
> Yes, I believe it is because you are using DHCP. Just enter the values

> manually and all should be fine

Scott, you could check the ifcfg-eth0 option: BOOTPROTO=dhcp then do the
following to get the ip address and subnet mask:

IP_ADDR=`ifconfig eth0 | grep 'inet ' | cut -d : -f 2 | cut -d ' ' -f 1`
IP_MASK=`ifconfig eth0 | grep 'inet ' | cut -d : -f 4`

I used this in the firewall script I wrote a while ago.

Paul.

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to