assigning an IP with ifconfig

How do I do it?
eth1 needs to have its IP changed.
thanks
dissolvedAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MysidiaCommented:
ifconfig eth1 <new address> netmask <mask here> up


* The effects of using the ifconfig command will not carry over a reboot unless you arrange for the ifconfig command to be executed in the network startup

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dissolvedAuthor Commented:
Thanks. One other thing you may know: when you run a multihomed box, do you need both interfaces in separate networks?
Im doing some security testing with dsniff (arpspoofing). Do I need to have both interfaces in separate networks?

Thanks
MysidiaCommented:
A single computer can have two network interfaces on the same network.

I wouldn't call it multihoming though: multihoming is when your network
has multiple  ISPs and your routing system needs to pick between them
and dynamically adjust your routes, usually utilizing a protocol such
as BGP.
dissolvedAuthor Commented:
thanks. perhaps you could assist answering this too? :D

http://www.experts-exchange.com/Security/Linux_Security/Q_21479194.html
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.