Feature #2413
closedAllow IPv6 interface configuration from the menu
90%
Description
The current console menu only allows for IPv4 interface configuration. We need to add support for IPv6 interface configuration as well.
Interface configs are not applied correctly for v4 in certain situations, like reassignment.
Updated by Jim Pingle over 12 years ago
That second bit about v4 already has a ticket - #2074
Updated by Seth Mos over 12 years ago
- Assignee changed from Seth Mos to Darren Embry
Updated by Darren Embry over 12 years ago
- Status changed from New to Feedback
- Assignee changed from Darren Embry to Seth Mos
- % Done changed from 0 to 80
implemented in c1361a9f
I've done basic testing but this needs a lot more testing than i'm able to do so i'm reassigning to you.
Updated by Seth Mos about 12 years ago
- Status changed from Feedback to New
OPtion 2 Set interface IP address.
When configuring interface WAN, as dhcp and dhcp6 I get the url http://dhcp/ displayed
When configuring interface WAN for dhcp6 it does not set $config['interfaces']['wan']['ipaddrv6'] to dhcp6. Are you confused with the dhcp6 server? Displayed as IPv6 None in the UI.
Setting the WAN address to a static IPv6 address works. Correctly listed as Static IPv6 in the UI.
Tried to set to dhcp6 again, still set to Static IPv6. I think it's not setting the tag.
Feature++:
- IP configuration
- show list of types for IPv4. 1 - DHCP, 2 - Static, 3 - PPPoE (pppoe needs usernames and things too)
- Add IPv4 gateway for Static
- show list of types for IPv6. 1 - DHCP6, 2 - Static, 3- 6to4, 4 - 6rd
- Add IPv6 gateway for Static
Although we don't need all of the possible configuration types we do need to be able to add the static gateway for IPv4 and IPv6 since that has been sorely missed for over a year now.
Basically that entails shooting a new gateway entry into $config['gateways'];
print_r($config['gateways']); Array ( [gateway_item] => Array ( [0] => Array ( [interface] => wan [gateway] => $ipv4address [name] => GW_WAN //Make up a name here [weight] => 1 [ipprotocol] => inet // inet for IPv4, inet6 for IPv6 [interval] => [descr] => Interface wan Gateway // Add silly description [defaultgw] => // This bit needs to be set to true if this is the 1st IPv4 and IPv6 gateway on the system ) )
Hope this helps
Updated by Seth Mos about 12 years ago
- Assignee changed from Seth Mos to Darren Embry
Updated by Darren Embry about 12 years ago
When configuring interface WAN, as dhcp and dhcp6 I get the url http://dhcp/ displayed
Now should be showing IPv6 webConfigurator URLs (i.e., http://dhcp6/ in your case) along with the IPv4 ones. See b3cb233f.
Updated by Darren Embry about 12 years ago
When configuring interface WAN for dhcp6 it does not set $config['interfaces']['wan']['ipaddrv6'] to dhcp6. Are you confused with the dhcp6 server? Displayed as IPv6 None in the UI.
Should be fixed now in bfaafe28.
Updated by Darren Embry about 12 years ago
- Assignee changed from Darren Embry to Seth Mos
Tried to set to dhcp6 again, still set to Static IPv6. I think it's not setting the tag.
I'm actually going to just hope that one of my changes above fixed this. Please test and report back. If you're still experiencing this particular problem, then clarify what needs to be set and isn't being set, please. Thanks!
Updated by Seth Mos about 12 years ago
- Assignee changed from Seth Mos to Darren Embry
Another new feature for the console menu to clarify console configuration. With the last as it is now, it is hard to see which assigned interface ties into which real interface. With my configuration on my soekris the menu has already scrolled off the screen at this point to peek.
1 - WAN
2 - LAN
3 - WLANC
4 - OPT2
5 - WLANAP
6 - WANIPV6
7 - SIXXSV6
8 - 3G
Add the real interface after the friendly interface name 1 - WAN (vr1) 2 - LAN (vr0) 8 - 3G (ppp0)
Maybe add the existing configured settings for a interface? e.g. static, staticv6, dhcp etc.
Note that http://dhcp and http://dhcp6 are not valid, it appears to be almost right.
http://192.168.2.254:/
there is a colon in there, but I'm wondering where my port 8888 went.
Updated by Darren Embry about 12 years ago
Note that http://dhcp and http://dhcp6 are not valid, it appears to be almost right.
http://192.168.2.254:/
there is a semi colon in there, but I'm wondering where my port 8888 went.
just fixed this in d71371bc
Updated by Darren Embry about 12 years ago
Updated by Darren Embry about 12 years ago
- Assignee changed from Darren Embry to Seth Mos
- % Done changed from 80 to 90
Okay, you can set gateway IP addresses from the command line now. See config:c63e3594 and config:d23b53eb.
Punting back to you for further testing, Seth.
Updated by Renato Botelho over 11 years ago
- Status changed from New to Feedback
Updated by Chris Buechler over 11 years ago
- Status changed from Feedback to Resolved