Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Janm on October 03, 2006, 02:14:29 AM

Title: what command is used to renew ext ip address
Post by: Janm on October 03, 2006, 02:14:29 AM
Anybody please
What command is used to renew the ip address on the ext nic when you are getting ip with dhcp??
in windows i normaly use these

ipconfig /release
ipconfig /flushdns
ipconfig /renew
ipconfig /all

Janm
Title: what command is used to renew ext ip address
Post by: del on October 03, 2006, 04:43:21 PM
Quote
in windows i normaly use these
ipconfig /release
ipconfig /flushdns
ipconfig /renew
ipconfig /all

I am not sure, but I know that "ifconfig" is the equivalent to "ipconfig", so may be try
Quote
ifconfig /release
ifconfig /flushdns
ifconfig /renew
ifconfig /all

It's worth a try, nothing ventured, nothing gained :wink:

Regards,
Del
Title: what command is used to renew ext ip address
Post by: Janm on October 03, 2006, 05:50:14 PM
Del:Thanks
The reason i asked is i have been at it before link
http://bugs.contribs.org/show_bug.cgi?id=346


I have already tried but no
7.0 use dhclient so its somthing like

ifdown eth1
dhclient eth1
ifup eth1

and used
netstat -i
arp -a
to se results
and status
/etc/init.d/network status


when ext nic is eth1
but this dont seems to do either

Jan