| Summary: | Cannot assign a IP address to a interface when a route to the same subnet exists in the routing table | ||
|---|---|---|---|
| Product: | Base System | Reporter: | bannai <bannai> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
bannai
2001-06-05 19:40:01 UTC
State Changed From-To: open->closed This is the correct behavior. First, the IP address still gets assigned to the interface. It is the so-called "interface" route that can't be installed because the route to the same destination/netmask already exists in the routing table (whether static or not). Either delete this route before running ifconfig(8), or use a different netmask value. |