Ticket #6502 (new bug)
ifconfig and address parameters
| Reported by: | atis.elsts | Owned by: | nobody |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | Network & Internet | Version: | R1/Development |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Has a Patch: | no | Platform: | All |
Description
- When a new address is added to existing interface, but no netmask or prefix length for that address is specified, the result is an address with invalid netmask. Probably a call to set_to_defaults() is needed somewhere in the kernel code.
- [Enhancement] Broadcast address is also not handled correctly, when not explicitly specified. First, setting new address for an interface does not set the correct broadcast address - the broadcast address should be dependent on network mask, not on address class. Second, adding new address to existing interface leaves broadcast address field completely empty. (The same set_to_defaults() call should solve this second case too.)
Change History
Note: See
TracTickets for help on using
tickets.

An update: actually there are bigger issues.
You will need my ifconfig patch (the one that adds AddAddress() call) to repeat the problems,