lan/dynamic dsl

I have RH 9 and have just gotten reconnected with dsl, sadly it is dynamic vs. the static ip I used to have. Where can I find the scripts needed to get the info out of the dhcp and into the iptables script to run my firewall. I have dhclient no pump running

Thanks john

Reply to
Loading thread data ...

To get your external IP Address, you can use something similar to: ifconfig ppp0|grep inet|cut -d : -f 2|cut -d \\ -f 1 For the netmask, use something like this: ifconfig ppp0|grep Mas|cut -d : -f 4 Is this what you had in mind?

Reply to
Micheal Robert Zium Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.