Hi all,
I would like to assign 2 or 3 IP addresses to my old 3C509 ethernet card.
I'm still running kernel 1.2.13.
Is there any HOWTO that I can read on this matter ?
Thanks for any pointer.
Aldo
Hi all,
I would like to assign 2 or 3 IP addresses to my old 3C509 ethernet card.
I'm still running kernel 1.2.13.
Is there any HOWTO that I can read on this matter ?
Thanks for any pointer.
Aldo
You can't. You can however install several "dummy" network devicesQuote:>I would like to assign 2 or 3 IP addresses to my old 3C509 ethernet card.
>I'm still running kernel 1.2.13.
There is but I can't recall which.Quote:>Is there any HOWTO that I can read on this matter ?
--
. _\\__[oo from | Phones: +44 121 471 3789 (home)
. l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
# ll l\\ ~~~~ ~ ~ ~ ~ | http://wcl-l.bham.ac.uk/~bam/
> Hi all,
> I would like to assign 2 or 3 IP addresses to my old 3C509 ethernet card.
> I'm still running kernel 1.2.13.
> Is there any HOWTO that I can read on this matter ?
> Thanks for any pointer.
> Aldo
I have a 'real' IP address (130.251.14.1, belva.infomus.dist.unige.it)
and a 'virtual' address (130.251.14.8 (AIMI.infomus.dist.unige.it, I use
it for a second WWW server with Apache).
To setup them I configured my kernel to use the dummy module, and I add
in /etc/rc.d/rc.inet1 the following lines:
# Setting up virtual address
exec /etc/IP_Alias &
And the script IP_Alias is in the attachment.
Edit it to adapt to your configuration, reboot and check if it works.
Bye,
Marco.
[
IP_Alias < 1K ]
#!/bin/bash
# current ethernet address
echo "Starting IP_Alias..."
# This is my net-card HWaddress. You can find it with 'ifconfig'
ETH=00:40:33:24:EE:9C
# list of machine names to act as
# (The list of names to give to the virtual machines)
names="AIMI.dist.unige.it"
count=0
if [ "$1" = "stop" ]; then
for addr in $names
do
/sbin/route del $addr
/sbin/ifconfig dummy$count down
/sbin/arp -d $addr
/sbin/rmmod dummy$count
echo dummy$count \!= $addr
let count=$count+1
done
elif [ "$1" = "start" -o "$1" = "" ]; then
for addr in $names
do
echo dummy$count -\> $addr
/sbin/insmod -o dummy$count /lib/modules/1.2.13/net/dummy.o
/sbin/ifconfig dummy$count $addr -broadcast
/sbin/route add $addr dummy$count
/sbin/arp -s $addr $ETH pub
let count=$count+1
done
else
echo 'Usage: '$0' [start|stop]'
fi
>>I would like to assign 2 or 3 IP addresses to my old 3C509 ethernet card.
>>I'm still running kernel 1.2.13.
>You can't. You can however install several "dummy" network devices
>modules with on IP address each and use proxy-arp to make your
>ethernet card respond to arp requests for those addresses too.
Thorough instructions can be found in NET2-HOWTO.
-javier
1. assigning multiple IP address to one interface via dhcpd
Hi,
I wonder if it is possible to assign multiple IP addresses to
a dhcp client's interface via dhcpd (based on the interface's MAC).
If so, what would the configuration (dhcpd.conf file) on the
server side look like ?
2. Connection closed by foreign host
3. how to assign multiple IP addresses to a NIC.
5. Assigning multiple IP addresses to one interface
6. Getting KDE 1.1.2 to install
7. Changing IP address on Solaris 9 with multiple virtual IP addresses
9. Setting up DMZ, IP routing and assigning IP addresses
10. Correct IP configuration for machine with dynamically-assigned IP address?
11. multiple NICs, multiple IP addresses?
12. Stupid question about assigning an internal ip vs external ip to web server
13. Question about multiple tcp/ip host addresses