add subnet mask and default gateway by using YAST2 or from command prompt
OS: SLES 9
How to add subnet mask and default gateway by using YAST2? from command prompt? |
I am waiting for any feedback. thanks
I am waiting for any feedback. thanks
:mad: |
hay isent YAST2 a packedge manager I dident know you could chang network setings with a packedg manager but I'm a noobey try netconfig type it in a terminal and hit enter
VINNY |
In YaST2, select "Network Devices -> network card". Select your device and click on the "Edit" button. The IP address and netmask can be entered in the main area of the page ( on the top )
On the bottom of the page, note the "Detailed settings ..." section. To enter the default gateway, click on the "Routing ..." button. If you use DHCP, this will be ghosted because the DHCP server supplies the default gateway value. When you have finished, you might find it interesting to see how this information was stored in a config script in /etc/sysconfig/network/ For example: /etc/sysconfig/network/ifcfg-eth0 for the eth0 device. One time at work I needed to change my network configuration on the fly. I simply had two ifcfg-eth0 files elsewhere that I would copy over the old one and restart the device with: sudo /usr/sbin/rcnetwork restart eth0. It was a lot faster than changing the IP address, netmask, etal. in XP. In NT you would have to configure TCP/IP and then reboot. Quote:
|
All times are GMT -5. The time now is 07:49 PM. |