Setting eth1 adresses....

How do i sign IP 192.168.0.1 and mask 255.255.255.0 permanentely to eth1 in linux?...




Topic Options
#1488 - 03/14/03 01:47 PM Setting eth1 adresses....
souldreamer Offline
journeyman

Registered: 03/09/03
Posts: 60
How do i sign IP 192.168.0.1 and mask 255.255.255.0 permanentely to eth1 in linux?

Top
Advertisement
#1489 - 03/14/03 02:42 PM Re: Setting eth1 adresses....
EgoWarrior Offline
stranger

Registered: 05/26/02
Posts: 20
This probably depends on your distro, but for my Red Hat box you want to edit the file in :

/etc/sysconfig/network-scripts

called "ifcfg-eth1" and make it so it reads:


DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0
ONBOOT=yes


That should work for you, it should bring the device up on boot, and assign it that address,

Hope this helps.

Top
#1492 - 03/15/03 01:32 AM Re: Setting eth1 adresses....
souldreamer Offline
journeyman

Registered: 03/09/03
Posts: 60
Thanks pal wink

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
Christmas Gift: 2009 Top 8 Software of Multimedia
by yath
Today at 09:43 AM
Ram Question
by JohnnyAshes
Yesterday at 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
Yesterday at 06:09 AM
What version of Linux is this?
by DxxLinux
12/15/09 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Who's Online
1 Registered (Philipp), 143 Guests and 30 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91363 Members
24 Forums
59107 Topics
189626 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22