Details
Details
- Reviewers
- None
- Group Reviewers
network - Commits
- rG4bf44dd73bc0: ifconfig: switch IPv4/IPv6 address manipulations to Netlink.
rG54418f79fd29: ifconfig: switch IPv4/IPv6 address manipulations to Netlink
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 51577 Build 48468: arc lint + arc unit
Event Timeline
Comment Actions
After this change:
root@b14:~ # ifconfig
vtnet0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE>
ether 58:9c:fc:05:ea:e7
inet 100.64.0.14 netmask 0xffffff00 broadcast 100.64.0.255
...
root@b14:~ # ifconfig vtnet0 inet 100.64.0.15/24 alias
root@b14:~ # ifconfig
vtnet0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE>
ether 58:9c:fc:05:ea:e7
inet 100.64.0.14 netmask 0xffffff00 broadcast 100.64.0.255
inet 100.64.0.15 netmask 0xffffff00 broadcast 100.64.0.255
...
root@b14:~ # ifconfig vtnet0 inet 100.64.0.15 -alias
...The session stalled. Login via serial console showed:
root@b14:~ # ifconfig
vtnet0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE>
ether 58:9c:fc:05:ea:e7
inet 100.64.0.15 netmask 0xffffff00 broadcast 100.64.0.255wrong IP address has been removed.