astroroxy
New Around Here
Hello,
My current network is as follows,
A few ipv4 subnets direct IP addresses to the internet cat6.-->
Layer 3 switch
The switch is also the default gateway for the network
Example from ISP (Fake IP)
CIDR 173.254.215.100/28
Subnet 255.255.255.240
Gateway 173.254.215.101
Primary IP 173.254.215.102
Last Usable IP 173.254.215.116
The primary IP is used as a interface on my l3 switch which then has a default route 173.254.215.101(ISP gateway)
On my hosts I set the default gateway as the IP of the l3 switch.
This way all the data stays on the switch and not bouncing to my ISPs router.
Now for IPv6 I am all confused.
I was assigned a /56
My ISP said I should assign each host a /64
I then attempted to assign the switch a /64 ending in 2607:fcd0:0100:1112::1 and use the gateway IP from my host
2607:fcd0:0100:1111::1
The switch complained that it is not a directly connected router.
I then put it on the same subnet as the gateway so 2607:fcd0:0100:1111::2
This works and I am able to add the gateway to the switch and access it from the internet.
I then attempted to add hosts:
Ubuntu Example config
iface eth0 inet6 static
pre-up /sbin/modprobe -q ipv6 ; /bin/true
address 2607:fcd0:0100:1113::1
netmask 64
gateway 2607:fcd0:100:1111::2(Switch IP)
This does not work, or after a few reboots it works and then stops,
for some reason it lost its route and ubuntu is no longer able to ping.
How would you do this?
Thanks
My current network is as follows,
A few ipv4 subnets direct IP addresses to the internet cat6.-->
Layer 3 switch
The switch is also the default gateway for the network
Example from ISP (Fake IP)
CIDR 173.254.215.100/28
Subnet 255.255.255.240
Gateway 173.254.215.101
Primary IP 173.254.215.102
Last Usable IP 173.254.215.116
The primary IP is used as a interface on my l3 switch which then has a default route 173.254.215.101(ISP gateway)
On my hosts I set the default gateway as the IP of the l3 switch.
This way all the data stays on the switch and not bouncing to my ISPs router.
Now for IPv6 I am all confused.
I was assigned a /56
My ISP said I should assign each host a /64
I then attempted to assign the switch a /64 ending in 2607:fcd0:0100:1112::1 and use the gateway IP from my host
2607:fcd0:0100:1111::1
The switch complained that it is not a directly connected router.
I then put it on the same subnet as the gateway so 2607:fcd0:0100:1111::2
This works and I am able to add the gateway to the switch and access it from the internet.
I then attempted to add hosts:
Ubuntu Example config
iface eth0 inet6 static
pre-up /sbin/modprobe -q ipv6 ; /bin/true
address 2607:fcd0:0100:1113::1
netmask 64
gateway 2607:fcd0:100:1111::2(Switch IP)
This does not work, or after a few reboots it works and then stops,
for some reason it lost its route and ubuntu is no longer able to ping.
How would you do this?
Thanks