Assigning multiple IPs in the same network to an interface

2012-02-16 Thread M. V.
hi everybody, i have a problem with setting multiple IPs in the same network in FreeBSD: - suppose I assign two new IP addresses in the same network to eth0 with ifconfig: #ifconfig eth0 add 192.168.10.1/24 #ifconfig eth0 add 192.168.10.2/24 - everything works fine and the output of "netstat -r

Re: Assigning multiple IPs in the same network to an interface

2012-02-16 Thread Damien Fleuriot
On 2/16/12 8:08 AM, M. V. wrote: > hi everybody, > > i have a problem with setting multiple IPs in the same network in FreeBSD: > > - suppose I assign two new IP addresses in the same network to eth0 with > ifconfig: > #ifconfig eth0 add 192.168.10.1/24 > #ifconfig eth0 add 192.168.10.2/24 >

Re: Assigning multiple IPs in the same network to an interface

2012-02-16 Thread Andrew Boyer
On Feb 16, 2012, at 8:16 AM, Damien Fleuriot wrote: > On 2/16/12 8:08 AM, M. V. wrote: >> hi everybody, >> >> i have a problem with setting multiple IPs in the same network in FreeBSD: >> >> - suppose I assign two new IP addresses in the same network to eth0 with >> ifconfig: >> #ifconfig eth0

Re: Assigning multiple IPs in the same network to an interface

2012-02-16 Thread Rainer Bredehorn
> i have a problem with setting multiple IPs in the same network in FreeBSD: > > - suppose I assign two new IP addresses in the same network to eth0 with > ifconfig: > #ifconfig eth0 add 192.168.10.1/24 > #ifconfig eth0 add 192.168.10.2/24 > Second address should be an alias address. ;-) _

Re: Assigning multiple IPs in the same network to an interface

2012-02-16 Thread Andrew Boyer
On Feb 16, 2012, at 9:30 AM, Rainer Bredehorn wrote: >> i have a problem with setting multiple IPs in the same network in FreeBSD: >> >> - suppose I assign two new IP addresses in the same network to eth0 with >> ifconfig: >> #ifconfig eth0 add 192.168.10.1/24 >> #ifconfig eth0 add 192.168.10.2

Re: Assigning multiple IPs in the same network to an interface

2012-02-17 Thread M. V.
>> On 2/16/12 8:08 AM, M. V. wrote: >>> hi everybody, >>> >>> i have a problem with setting multiple IPs in the same network in FreeBSD: >>> >>> - suppose I assign two new IP addresses in the same network to eth0 with >>> ifconfig: >>> #ifconfig eth0 add 192.168.10.1/24 >>> #ifconfig eth0 add 1

RE: Assigning multiple IPs in the same network to an interface

2012-02-17 Thread Li, Qing
.@freebsd.org] On Behalf Of M. V. > Sent: Wednesday, February 15, 2012 11:08 PM > To: freebsd-net@freebsd.org > Subject: Assigning multiple IPs in the same network to an interface > > hi everybody, > > i have a problem with setting multiple IPs in the same network in > Fr

Re: Assigning multiple IPs in the same network to an interface

2012-02-18 Thread Damien Fleuriot
On 2/16/12 3:39 PM, Andrew Boyer wrote: > > On Feb 16, 2012, at 8:16 AM, Damien Fleuriot wrote: > >> On 2/16/12 8:08 AM, M. V. wrote: >>> hi everybody, >>> >>> i have a problem with setting multiple IPs in the same network in FreeBSD: >>> >>> - suppose I assign two new IP addresses in the same

Re: Assigning multiple IPs in the same network to an interface

2012-02-21 Thread Gleb Smirnoff
On Sat, Feb 18, 2012 at 05:28:22AM +, Li, Qing wrote: L> Yes, what you are trying to do is allowed and is supported. In fact several bugs L> were fixed to support such configuration properly. For example, see these commits: L> L> http://svnweb.freebsd.org/base?view=revision&revision=22

Re: Assigning multiple IPs in the same network to an interface

2012-03-16 Thread Andrew Boyer
On Feb 18, 2012, at 5:39 AM, Damien Fleuriot wrote: > On 2/16/12 3:39 PM, Andrew Boyer wrote: >> >> On Feb 16, 2012, at 8:16 AM, Damien Fleuriot wrote: >> >>> On 2/16/12 8:08 AM, M. V. wrote: hi everybody, i have a problem with setting multiple IPs in the same network in FreeBSD