Sponsored Content
Operating Systems Linux Red-hat AS 2.1 network question Post 51437 by zazzybob on Wednesday 19th of May 2004 05:37:07 PM
Old 05-19-2004
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
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network settings on Red Hat

HELP!! How do you change the network setting from auto-duplex to 100 Base T Full Duplex in Red HaT? (1 Reply)
Discussion started by: johnlong
1 Replies

2. Linux

red hat ent 5 network

Hi All, I configured during the installation my red hat 5 ent with dhcp enable. Now I modified to static on ../ifcfg-eth0. It won't change when network is restarted with ../network restart command. I need to do ifdown eth0 and ifup eth0. And when rebooted, it will go back to dhcp. Here's... (1 Reply)
Discussion started by: itik
1 Replies

3. Red Hat

How to register with Red Hat Network?

Hi, We have Red Hat Enterprise Linux 5.3 running on all our machines and planning to make one machine as a YUM repository server. Using yum utility the rest of the RHEL machines should be able to get the latest patches/ packages. Done a POC with the packages available in RHEL 5.3 DVD –... (1 Reply)
Discussion started by: uday123
1 Replies

4. Shell Programming and Scripting

Linux Red Hat - FTP question

Hi Everyone, Based on what I have read so far and what others have posted on this forum, I have come up with the following script to download and upload files from and to a FTP sever: HOST=xyz.com USER=someuser PASSWD=somepwd tmpfile=/tmp/files.$$ indir=/tmp/inbound... (2 Replies)
Discussion started by: maxshop
2 Replies

5. Red Hat

How do I network a Suse installed machine with other computers, specifically Red hat Linux?

How do I network a Suse installed machine with other computers, specifically Red hat Linux? This is for a school project, and I can't find any pages that tell how to network a Suse to other computers except how to use a printer. (1 Reply)
Discussion started by: Anna Hussie
1 Replies

6. Red Hat

Red Hat Linux release 9 (Shrike) question

Hi guys, wondering if you could help me out here... this is a proxy system problem I'm trying to access a web gui service off a linux box running Red Hat Linux release 9 (Shrike) used as a proxy server which does not seem to have a web browser installed..... how can i do this? so to... (2 Replies)
Discussion started by: slashbash
2 Replies

7. Red Hat

Linux Red Hat AS3 Network card is not detecting ...

Dear Expert, I 've installed Redhat linux AS3, My machine having Inbuild network card (Intel(R) 82566DM-2 Gigabit Network Connection). I've downloaded e1000e-2.3.2 from Intel site, but its not working for my machine. I'm unable to configure the Network. ifconfig eth0 xx.xx.xx.xx netmask... (0 Replies)
Discussion started by: Mohammed Faiz
0 Replies

8. Red Hat

Red Hat Network / Support

Dear all, I have around 7 servers which are running under RHEL 5.x Version. I have supported the server for nearly 3 years. Till now I have not contacted RHEL Network Support from Redhat for any services. Now a thought came to my mind , that in any case if there is some issue with the OS or... (3 Replies)
Discussion started by: jegaraman
3 Replies

9. UNIX for Dummies Questions & Answers

Red Hat Linux question on top and vmstat outputs

RHEL 5.4 Our Linux machine seemed to be running slow. So, I ran the top and vmstat commands. Question1. I can see the process 11517 consuming 100% CPU . But that just means that this process totally utilizes one of the cores in a mult-core CPU. Right ? This machine apparently has two... (2 Replies)
Discussion started by: kraljic
2 Replies
dhcpmgr(1M)						  System Administration Commands					       dhcpmgr(1M)

NAME
dhcpmgr - graphical interface for managing DHCP service SYNOPSIS
/usr/sadm/admin/bin/dhcpmgr DESCRIPTION
dhcpmgr is a graphical user interface which enables you to manage the Dynamic Host Configuration Protocol (DHCP) service on the local sys- tem. It performs the functions of the dhcpconfig, dhtadm, and pntadm command line utilities. You must be root to use dhcpmgr. The dhcpmgr Help, available from the Help menu, contains detailed information about using the tool. USAGE
You can perform the following tasks using dhcpmgr: Configure DHCP service Use dhcpmgr to configure the DHCP daemon as a DHCP server, and select the data store to use for storing network configuration tables.. Configure BOOTP relay service Use dhcpmgr to configure the DHCP daemon as a BOOTP relay. Manage DHCP or BOOTP relay service Use dhcpmgr to start, stop, enable, disable or unconfigure the DHCP service or BOOTP relay service, or change DHCP server parameters. Manage DHCP addresses Use dhcpmgr to add, modify, or delete IP addresses leased by the DHCP service. Manage DHCP macros Use dhcpmgr to add, modify or delete macros used to supply configuration parameters to DHCP clients. Manage DHCP options Use dhcpmgr to add, modify or delete options used to define parameters deliverable through DHCP. Convert to a new DHCP data store Use dhcpmgr to configure the DHCP server to use a different data store, and convert the DHCP data to the format used by the new data store. Move DHCP data to another server Use dhcpmgr to export data from one Solaris DHCP server and import data onto another Solaris DHCP server. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdhcm | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
dhcpconfig(1M), dhtadm(1M), pntadm(1M), in.dhcpd(1M), dhcpsvc.conf(4), dhcp_network(4), dhcptab(4), attributes(5), dhcp(5), dhcp_modules(5) Solaris DHCP Service Developer's Guide System Administration Guide: IP Services SunOS 5.10 13 Mar 2001 dhcpmgr(1M)
All times are GMT -4. The time now is 11:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy