Discussion Locked

Networking

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How might one do the the following items:
Part I
a. Assume that the ethernet adapter which is configured with the static ip address. ethn(0 or 1).
b.Remove the ethn by using Yast.
c.Reconfigure ethn with the original static ip address.
d.Reboot the machine.
e.Display the ip address.
Part II
a.Assume that the Ethernet adapter that is configured with DHCP.
b.Remove the entry using Yast.
c.Add it and reconfigure the ethn entry for DHCP. d.Reboot the machine and display your ip address.
e.Stop and start networking software without shutting the machine down.
f.Have the ip address display on the Terminal window.
g.Have the previos items displayed on the terminal window.

4 replies

by jdclyde

Easy way for static without YAST.
edit the file at

/etc/sysconfig/network-scripts/ifcfg-eth0

change the address to what ever you need it to be.
then type the following command:

/etc/init.d/network start

should restart the damon and applie changes.

Many tasks are more reliable from the command prompt and this is an easy one to do.

DHCP using YAST:
In YaST, select System administration -> Change configuration file -> DHCLIENT and press F3 for Change Value.
2 links to help set and troubleshoot this.
http://portal.suse.com/sdb/en/1999/12/jrodman_dhcp63.html
http://portal.suse.com/sdb/en/1999/11/dhcp_client62.html
http://portal.suse.com/sdb/en/2001/03/kngu_cmodem.html

As you go through this, you will see where you had the choice between selecting DHCP and static.

Good luck.

This discussion is closed to new replies.