Howto :Static IPv4 and Ubuntu server
Carmen Sandiego on Wednesday, 18 September 2013 19:31:06
Good afternoon ;-)
Here is a simple solution for peoples who have a Static IPv4 running Ubuntu server (12.0.4.3 or 13.04).
First of all, you do not have to install AICCU.
The better solution is to modify your file: /etc/network/interfaces (with vi ;-)
I found this explanation here
Add to /etc/network/interfaces:
auto sixxs
iface sixxs inet6 v4tunnel
address [Your IPv6 Endpoint]
netmask [Prefix Length]
endpoint [PoP IPv4 Endpoint]
ttl 64
up ip link set mtu 1280 dev sixxs
up ip route add default via [PoP IPv6 Endpoint] dev sixxs
This is what I added on my /etc/network/interfaces:
auto sixxs
iface sixxs inet6 v4tunnel
address [YourIPv6]::2
netmask 64
endpoint [sixXs IPv4]
ttl 64
up ip link set mtu 1280 dev sixxs
gateway [sixXS IPv6]::1 dev sixxs
Now, i can see my ifconfig with:
sixxs Link encap:IPv6-dans-IPv4
adr inet6: [My IPv6]::2/64 Scope:Global
adr inet6: fe80::c0a8:1c8/64 Scope:Lien
UP POINTOPOINT RUNNING NOARP MTU:1280 Metric:1
Packets reus:104 erreurs:0 :0 overruns:0 frame:0
TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reus:52432 (52.4 KB) Octets transmis:49984 (49.9 KB)
By the way, the server is behind a router, but in DMZ, so no problems with protocol 41 or any other.
Actually, it seems to work:
traceroute6 ipv6.google.com
traceroute to ipv6.l.google.com (2a00:1450:400c:c03::68) from 2a02:578:3fe:13b::2, 30 hops max, 24 byte packets
1 gw-316.anr-01.be.sixxs.net (2a02:578:3fe:13b::1) 24.05 ms 13.078 ms 14.494 ms
2 beanr01.sixxs.net (2a02:578:1:8::2) 29.778 ms 17.871 ms 24.505 ms
3 2a02:578:1:8::1 (2a02:578:1:8::1) 24.198 ms 27.89 ms 50.008 ms
4 2a02:578:1:1d::1 (2a02:578:1:1d::1) 26.557 ms 37.939 ms 44.462 ms
5 amsix-router.google.com (2001:7f8:1::a501:5169:1) 18.674 ms 24.624 ms 24.885 ms
6 2001:4860::1:0:8 (2001:4860::1:0:8) 35.274 ms 17.96 ms 21.647 ms
7 2001:4860::8:0:519f (2001:4860::8:0:519f) 20.286 ms 18.717 ms 22.24 ms
8 2001:4860::8:0:507c (2001:4860::8:0:507c) 29.616 ms 25.402 ms 35.633 ms
9 2001:4860::2:0:87b (2001:4860::2:0:87b) 26.674 ms 30.209 ms 24.756 ms
10 * * *
11 we-in-x68.1e100.net (2a00:1450:400c:c03::68) 35.952 ms 26.184 ms 38.161 ms
root@server:~#
May this help You if You have any problems to configure ;-)
Howto :Static IPv4 and Ubuntu server
Jeroen Massar on Wednesday, 18 September 2013 20:04:11 First of all, you do not have to install AICCU.
That is clearly written in the FAQ.
As such, what is different here than what is written in the FAQ (which you reference)?
By the way, the server is behind a router, but in DMZ, so no problems with protocol 41 or any other.
Please note that that is called 'luck' as some implementations of "DMZ mode" do not forward anything but TCP and UDP. Thus it heavily depends on the model of the box.
Howto :Static IPv4 and Ubuntu server
Carmen Sandiego on Thursday, 19 September 2013 06:28:13
Jeroen Massar wrote:
> First of all, you do not have to install AICCU.
That is clearly written in the FAQ.
As such, what is different here than what is written in the FAQ (which you reference)?
Thank You for your reply Jeroen ;-)
The difference is:
The syntax is as follows:
route add -net $NET netmask $MASK gw $GATEWAY
Where is the gw in the FAQ?
Unfortunately, i "need" a box because: my fixed IPv4 is associated with the MAC address. So the only way to keep my MAC address is a MAC clone via the box.
My box is a Linksys WRT54GL with dd-wrt
By the way, the server is behind a router, but in DMZ, so no problems with protocol 41 or any other.
Please note that that is called 'luck' as some implementations of "DMZ mode" do not forward anything but TCP and UDP. Thus it heavily depends on the model of the box.
Howto :Static IPv4 and Ubuntu server
Jeroen Massar on Thursday, 19 September 2013 08:17:56 The difference is: The syntax is as follows: route add -net $NET netmask $MASK gw $GATEWAY Where is the gw in the FAQ?
There is no such line in the FAQ (for Debian) unless you are looking at something like the iproute2 examples.
Posting is only allowed when you are logged in. |