Configuring IP address aliasing

2004-01-26 Thread Mike
Greetings, I have 2 Redhat-9 servers that I'd like to migrate to FreeBSD in the next 3 months. So I've set-up a test server (FreeBSD-4.9 STABLE) and I'm in the midst of loading 3rd party applications (via ports) to test their operation compared to the RH-9 servers. I have a question about

Re: Configuring IP address aliasing

2004-01-26 Thread Alex Zbyslaw
Mike wrote: # ifconfig -a ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST 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

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 wrong

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

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