Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 16:29:43 +0200
From:      "Vyacheslav Bocharov" <adeepv@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   strange problem with ifconfig alias
Message-ID:  <80861bfa0812110629h70527769w5e29f9acd7d0a5cd@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello.
I have strange problem with ifconfig: I can't add ip address to interface:

root@chip# route get 195.3.245.xx
   route to: 195.3.245.xx
destination: default
       mask: default
    gateway: gadget
  interface: vlan10
      flags: <UP,GATEWAY,DONE,STATIC>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu
expire
       0         0         0         0         0         0      1500
0

root@chip# ifconfig |grep 195.3.245.
root@chip#

root@chip# ifconfig em1 alias 195.3.245.xx/30
ifconfig: ioctl (SIOCAIFADDR): File exists

root@chip# route get 195.3.245.xx
   route to: 195.3.245.xx
destination: 195.3.245.xx-1
       mask: 255.255.255.252
  interface: em1
      flags: <UP,DONE,CLONING>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu
expire
       0         0         0         0         0         0      1500
-3

root@chip# ifconfig em1 |grep 195.3.245.
root@chip#


-- 
Vyacheslav Bocharov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80861bfa0812110629h70527769w5e29f9acd7d0a5cd>