OFF??? POINT-TO-POINT
Hi List.
My ISP set up this "IPVPN":
A location:
VLAN4093: ww.xx.yy.zz/30
Public IP to Internet.
VLAN4094: 192.168.0.2/30
Endpoint of "VPN" (a tunnel to B)
B location:
192.168.1.2/30 (No VLAN)
I thought that I can set up an point-to-point connection. But this is only available for PPP/SLIP/etc. "driven" interfaces. I can set up the connection with the following lines in my interfaces file:
auto vlan4094
iface vlan4094 inet static
address 192.168.0.2
netmask 255.255.255.255
pointopoint 192.168.1.2
vlan_raw_device wan3
up /sbin/ifconfig vlan4094 up arp
up /sbin/route add -host 192.168.1.2 dev vlan4094
down /sbin/route del -host 192.168.1.2 dev vlan4094This works, however the interface just ignores the pointopoint line....
My question is maybe offtopic, but anyone knows a good reason why the pointopoint feature is not available on "normal" interfaces?
Thanx,
Swifty
Quoted 10 lines · Gáspár Lajos
auto vlan4094
iface vlan4094 inet static
address 192.168.0.2
netmask 255.255.255.255
pointopoint 192.168.1.2
vlan_raw_devicewan3
up/sbin/ifconfigvlan4094 up arp
up/sbin/routeadd -host 192.168.1.2 dev vlan4094 down/sbin/routedel -host 192.168.1.2 dev vlan4094
Quoted 4 lines
This works, however the interface just ignores the pointopoint line....
My question is maybe offtopic, but anyone knows a good reason why the pointopoint feature is not available on "normal" interfaces?
So what's the output of ip addr?
Quoted 3 lines
So what's the output of
ip addr?
21: vlan4094@wan3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:19:e0:0b:ac:fc brd ff:ff:ff:ff:ff:ff
inet 192.168.0.2/32 scope global vlan4094
inet6 fe80::219:e0ff:fe0b:acfc/64 scope link
valid_lft forever preferred_lft foreverSwifty
Quoted 9 lines · Gáspár Lajos
Quoted 3 lines
So what's the output of
ip addr?21: vlan4094@wan3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:19:e0:0b:ac:fc brd ff:ff:ff:ff:ff:ff
inet 192.168.0.2/32 scope global vlan4094
inet6 fe80::219:e0ff:fe0b:acfc/64 scope link
valid_lftforeverpreferred_lftforever
Tricky :)
And ip route?
Quoted 11 lines
Quoted 7 lines
21: vlan4094@wan3:<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:19:e0:0b:ac:fc brd ff:ff:ff:ff:ff:ff inet 192.168.0.2/32 scope global vlan4094 inet6 fe80::219:e0ff:fe0b:acfc/64 scope link valid_lft forever preferred_lft foreverTricky :)
And
ip route?
192.168.1.2 dev vlan4094 scope link
Quoted 7 lines · Gáspár Lajos
Quoted 7 lines
Quoted 7 lines
21: vlan4094@wan3:<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:19:e0:0b:ac:fc brd ff:ff:ff:ff:ff:ff
inet 192.168.0.2/32 scope global vlan4094
inet6 fe80::219:e0ff:fe0b:acfc/64 scope link
valid_lftforeverpreferred_lftforever
Quoted 5 lines
Quoted 4 lines
Tricky :)
And
ip route?192.168.1.2 dev vlan4094 scope link
So everything is correct.