Tom Hosiawa wrote:
> 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?

As always, Google is your friend.  A search for "alias IP linux" (not in
quotes so it wouldn't be a single string) reveals:
http://pachome1.pacific.net.sg/~harish/linuxipalias.html


Tom  :-})

Thomas A. Condon

Plain Text Emails Don't Pass Viruses!

--
[EMAIL PROTECTED] mailing list

Reply via email to