View previous topic :: View next topic |
Author |
Message |
btower n00b
Joined: 31 Jul 2003 Posts: 70 Location: Poland
|
Posted: Thu Jul 31, 2003 6:17 pm Post subject: 2 ip adress on 1 interface |
|
|
Hello.
How add second ip adres (without gateway) to one interface in /etc/conf.d/net ?
Now I add it in one of script start:
ifconfig eth0:0 x.x.x.x netmask x.x.x.x broadcast x.x.x.x
and it works but I want do this smartly (elegantly ?? sorry I only little speak English). |
|
Back to top |
|
|
lazarusrat Guru
Joined: 17 Jul 2002 Posts: 305 Location: Lafayette, IN
|
Posted: Thu Jul 31, 2003 6:18 pm Post subject: |
|
|
There's a sample line in /etc/conf.d/net for setting aliases. Uncomment it and change the IP to whatever you want eth0:0 aliased as. _________________ obpiper: pipe menu generator for openbox
obtheme: pipe menu to switch openbox themes |
|
Back to top |
|
|
btower n00b
Joined: 31 Jul 2003 Posts: 70 Location: Poland
|
Posted: Thu Jul 31, 2003 6:43 pm Post subject: |
|
|
lazarusrat wrote: | There's a sample line in /etc/conf.d/net for setting aliases. Uncomment it and change the IP to whatever you want eth0:0 aliased as. |
Thanks.
Hyhy.
it's was easy
Search of forum don't works? |
|
Back to top |
|
|
|