At 07:21 AM 12/28/2003, you wrote:
1. in freebsd we can have two ip address for a single host like 2.0.0.1 & 17.0.0.1 by using ifconfig but why can't we assign two ip like 2.0.0.1 & 2.0.0.2 (i know that both r in same network)
2 so where is the problem in resolving the ip addressing of the host
3 where i can find more about this (links)


4. where is the code of the ip resolution in the kernel
niraj



You can do this. You setup aliases in rc.conf:


ifconfig_bge0="inet 2.0.0.1  netmask 255.255.255.0"
ifconfig_bge0_alias0="inet 2.0.0.2 netmask 255.255.255.255"

( you need a 32bit mask on any aliases especially ones on the same subnet)

then, if you do this you will see ARP complaints. To quiet that up add this to your sysctl.conf:

net.link.ether.inet.log_arp_wrong_iface=0


Hope this helps!


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to