Re: Source Address Autoselection (Sort of Long)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 05, 2000 at 12:55:33PM -0600, George Sexton wrote:
> >
> > ifconfig wan0:0 aaa.bbb.ccc.ddd netmask 255.255.255.255 broadcast
> > 255.255.255.255
> > route add -host 192.168.104.1 dev wan0:0		# l1
> > route add default gw 192.168.104.1 dev wan0:0		# x1
> > route del -host 192.168.104.1 dev wan0:0		# l2
> 
> I think I kind of understand where this is going. Thank you for your
> patience. If you could help me understand one more part I think I will have
> it. The part I don't understand is what IP to assign to the alias. Here is
> my complete config:
> 
> 
> subnet	166.66.66.192
> mask		166.66.66.224

I assume this is a typo and your mask is 255.255.255.224.

> 
> Gateway	166.66.66.193	<- eth0
> Wan0		192.168.104.2	<- Wan0
> 
> 
> Other hosts	166.66.66.194-222
> 
> What is the address that I would assign to wan0:0?

If you want that the host appears as 166.66.66.193 for the outside world you
should use 166.66.66.193. If you prefer another unused address from

	166.66.66.192/255.255.255.224

But I see no reason why you don't want to use 166.66.66.193.

Greetings,

Wolfgang Walter

-- 
Veni, Vidi, VISA:
	I came, I saw, I did a little shopping.

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux