> Briefly, what you do is tell Gentoo that when it activates this network card, > it should get its ip via DHCP (I imagine you already have this set up). But > you also designate an alias, which can be any ip you choose, although > obviously you should probably make it an ip unlikely to be given out by your > DHCP server). For a concrete example, suppose your DHCP server gives your > laptop, names "marvin," an address somewhere the 192.168.0.100 to > 192.168.0.199 range. Then you would designate an alias ip of 192.168.0.240 in > marvin's /etc/init.d/net.eth0, and put this line in the /etc/hosts files of > your other computers: > > 192.168.0.240 marvin
It kind of worked, in /etc/conf.d/net I have: alias_eth0="192.168.0.200" alias_eth1="192.168.0.201" But if I try to ping it, I get: PING tbird (192.168.1.200) 56(84) bytes of data. >From 192.168.1.102 icmp_seq=1 Destination Host Unreachable >From 192.168.1.102 icmp_seq=2 Destination Host Unreachable >From 192.168.1.102 icmp_seq=3 Destination Host Unreachable Also, I don't think I can set tbird to 2 ip address in /etc/hosts like: 192.168.1.200 tbird 192.168.1.201 tbird So I aliased both eth0 and eth1 to 192.168.0.200, and then just have 192.168.0.200 tbird in /etc/hosts, but then how is it going to know which nic card to goto? Tom -- [EMAIL PROTECTED] mailing list