Re: Configuring IP address aliasing

2004-01-26 Thread Mike
Matthew Seaman wrote: On Mon, Jan 26, 2004 at 08:40:18AM -0800, Mike wrote: QUESTION: Why do I use a different netmask (255.255.255.255) for a IP alias on FreeBSD? Why isn't 255.255.255.0 used? It's all about routing of outgoing packets. Unlike linux, you can't use the route(8) command to se

Re: Configuring IP address aliasing

2004-01-26 Thread Matthew Seaman
On Mon, Jan 26, 2004 at 08:40:18AM -0800, Mike wrote: > QUESTION: Why do I use a different netmask (255.255.255.255) for a IP > alias on FreeBSD? Why isn't 255.255.255.0 used? It's all about routing of outgoing packets. Unlike linux, you can't use the route(8) command to set up a route to a dir

Re: Configuring IP address aliasing

2004-01-26 Thread jan . muenther
Hello, > I found the reference to using the 255.255.255.255 netmask via Google, > however, I have Michael Lucas's book "Absolute BSD" and reference on > pages 103 & 104 (on IP aliasing) clearly show using the same netmask as > the real interface when creating IP aliases. This book is blatantly

Re: Configuring IP address aliasing

2004-01-26 Thread Alex Zbyslaw
Mike wrote: # ifconfig -a ed0: flags=8843 mtu 1500 inet 192.168.1.40 netmask 0xff00 broadcast 192.168.1.255 # ifconfig ed0 alias 192.168.1.41 netmask 255.255.255.0 broadcast 192.168.1.255 ifconfig: ioctl (SIOCAIFADDR): File exists [using same netmask as real interface] However, THIS