[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: adding a secondary ip
- From: "Allan Pinto" <allan316@xxxxxxxxx>
- Date: Thu, 30 Oct 2008 13:06:14 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=O2SlDn4CGa2O5tDGiVSNulGgbJGOuGHpnqsGXYG4RtI=; b=iFFkfaQUA70hvQKKn69HLEuX6ik48mHZyBujG7YSUeSCSLDRAO5Do58Y76USPwVIVm VompLITP0ZIEhZg/LEg/4cSke7tClqEj5RIt5Eam0Mel/sAA5w5lxKU/90CwjjEPjvml x4n9sVR5xWLSBiOyVDTlWseiZohXDVRRONleI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=wx0cxMqyBDCdjEY3b1iMlc16N1QX+dJjWKr82Nh1PgNT6eObZvt8hH8W3vpGTUraD4 PBJjw7qLPLqA4lZMoLrgYXnKhc+NRqlULWSK7q+nLPBSiGmlYSyvlbDCYbyfBbHYhkqT TpTIA6T7EnOnhJT5FTdQOMBT4udcFlnQdNh2s=
HI,
i did figure out how to add a secondary ip to my eth0 card. i.e i
edited network.conf added 3 more variable subinterface,subip and
subnetmask and then add this line in network.sh /sbin/router add
$SUBINTERFACE $SUBIP netmask $SUNETMASK up.
but could there be a easier way? i could need around 10 additional
ip's per interface for a server project i am doing.
i was going think some other way anyways but if any of you have
already implemented something like this i would like to know.
--
Thanx and regd's.
Allan.
http://www.in2dwok.com
---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/