how can have multiple ip's on one LAN card ?
Hi all,
i am pretty new to linux and wann aknow how can have multiple ip's on single interface. I tried with ifconfig , but after reboot i lose all settings. How i can make it permanently ? |
Which distro are you using? Some use ifcfg.* config files which set variables. Some use a script which contains ifconfig commands.
|
I use Slackware 14.
|
Edit your network configuration script at
/etc/rc.d/rc.inet1.conf |
and what actually have to change there ? When open it i see like
#config info for eth0: addr mask dhcp .... #config information for et1: .... ... and so on on the bottom see default gateway. i changed #conf info for eth1: to eth1:1 but think it's comment coz of "#" |
Take a look at this example.
|
Thank you very much :)
|
All times are GMT -5. The time now is 11:36 PM. |