![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solaris 10 Network Question | scotbuff | SUN Solaris | 2 | 07-24-2007 09:04 AM |
| network set up question | karthikosu | UNIX for Dummies Questions & Answers | 1 | 11-17-2006 11:08 AM |
| Network noobie question | 3rr0r_3rr0r | UNIX for Dummies Questions & Answers | 2 | 08-11-2006 09:57 AM |
| Solaris Network question | hshapiro | SUN Solaris | 2 | 02-27-2006 03:53 AM |
| Network question | merlin | UNIX for Dummies Questions & Answers | 1 | 08-22-2002 01:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Red-hat AS 2.1 network question
I have setup a AS 2.1 server with no X running or installed. I need to know how to configure the IP and such from command line and change it from DHCP. We used DHCP at first since we didn't know the IP we were going to use and now I need to change it. Any help would be great as Redhat's site just says use the redhat-config-network tool but as stated with our build we use that doesn't get installed. Thanks in advance
|
|
|||||
|
There are a few things you'll have to do to set this up.
Do an ifconfig eth0 down to bring the adapter down (assuming that eth0 is your ethernet device) Firstly, edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file and get the network configuration as you should want it. For example, without DHCP, something like DEVICE=eth0 IPADDR=192.168.0.1 NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.255 ONBOOT=yes All these settings are dependant on your particular network, however. You can then either reboot, or run the ifup command (/etc/sysconfig/network-scripts/ifup eth0) or (/sbin/ifup eth0) depending on where it's located, or just do an "ifconfig eth0 up", and that should bring the interface back up. Run "ifconfig -a" to see what eth0 is doing! You may need to add a route do the default gateway too, depending on your setup. You'll need to make the appropriate entry in /etc/hosts for the new static IP CHeers ZB http://www.zazzybob.com |
|
||||
|
Thank you a ton
![]() |
| Sponsored Links | ||
|
|