Koozali.org: home of the SME Server

Release and renew ip

CPH_2000

Release and renew ip
« on: February 12, 2007, 10:15:11 PM »
Hi.

How can i release renew my eth1 Lan ? I have a dynamisk (statisk) dhcp address from my isp, and need to release and renew the ip only for eth1.

SME Server 7.1

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Release and renew ip
« Reply #1 on: February 12, 2007, 10:28:34 PM »
You can change your lan ip if you ssh into SME and use admin/pass and then configure the server with new settings.

But why would you change your lan adress.
"It should just work" if it doesn't report it. Thanks!

CPH_2000

Release and renew ip
« Reply #2 on: February 13, 2007, 12:01:05 PM »
Quote from: "bpivk"
You can change your lan ip if you ssh into SME and use admin/pass and then configure the server with new settings.

But why would you change your lan adress.



eth1 is my "WAN" ethernet card. I have recived a new ip from my ISP and want make a relase and renew only for the eth1 (WAN)

I know about the configure server guide, but there must be a command to release and renew.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Re: Release and renew ip
« Reply #3 on: February 13, 2007, 04:10:05 PM »
Quote from: "CPH_2000"
How can i release renew my eth1 Lan ?


You said lan.  :P
Well the fastest way will be to do what i told you.
"It should just work" if it doesn't report it. Thanks!

Offline NickCritten

  • *
  • 245
  • +0/-0
Release and renew ip
« Reply #4 on: February 13, 2007, 06:11:03 PM »
try
Code: [Select]
/etc/rc.d/init.d/network restart

It will momentarily knock out your LAN connection as well, but should do the trick.
...
Nick

"No good deed goes unpunished." :-x...