LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-23-2006, 05:49 PM   #1
kurrupt
Member
 
Registered: Jul 2004
Distribution: Debian, Ubuntu, FreeBSD, RHEL
Posts: 202

Rep: Reputation: 31
gentoo + cloned nic's


Hey guys, Iam very aware on how to make cloned nic's on other distro ie: eth0:1, eth0:2 etc..

but in gentoo it seems to work a bit different and i cant seem to figure out how and where to do it.

First i just tried it with ifconfig eth0:1 x.x.x.x netmask x.x.x.x up <-- worked great as usual

BUT..

now i want it to start up if the server gets rebooted.. and i cant seem to find out where to do that..

I tried to edit the /etc/conf.d/net file and adding the following line.
Code:
iface_eth0_1( "x.x.x.x/24" )
routes_eth0_1 ( "default gw x.x.x.x" )
then i copied and pasted the /etc/init.d/net.eth0 as /etc/init.d/net.eth0:1

then i just started the service /etc/init.d/net.eth0:1 start

but it did not work..

Iam pretty sure iam missing something or some syntax is wrong.. can anyone help me out?

Thanks
 
Old 04-25-2006, 03:05 AM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
What is the output when the service start.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup cloned monitor hypoglycemic Linux - Hardware 3 08-05-2005 12:50 PM
Dual (cloned) screen setup help needed disc0tech Linux - General 1 05-24-2005 08:47 PM
Saving cloned MAC address in Slackware darreng23 Linux - Networking 1 04-20-2005 06:36 AM
Cloned CD problem,K3B. akihandyman Mandriva 3 01-08-2005 04:58 PM
Linux Redhat Imaged / Cloned randybell Linux - Newbie 1 11-16-2004 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration