* OFF??? POINT-TO-POINT
@ 2010-08-24 17:36 Gáspár Lajos
2010-08-24 17:55 ` Jan Engelhardt
0 siblings, 1 reply; 6+ messages in thread
From: Gáspár Lajos @ 2010-08-24 17:36 UTC (permalink / raw)
To: netfilter list
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 vlan4094
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?
Thanx,
Swifty
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OFF??? POINT-TO-POINT
2010-08-24 17:36 OFF??? POINT-TO-POINT Gáspár Lajos
@ 2010-08-24 17:55 ` Jan Engelhardt
2010-08-24 18:02 ` Gáspár Lajos
0 siblings, 1 reply; 6+ messages in thread
From: Jan Engelhardt @ 2010-08-24 17:55 UTC (permalink / raw)
To: Gáspár Lajos; +Cc: netfilter list
On Tuesday 2010-08-24 19:36, Gáspár Lajos wrote:
> 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 vlan4094
>
> 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`?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OFF??? POINT-TO-POINT
2010-08-24 17:55 ` Jan Engelhardt
@ 2010-08-24 18:02 ` Gáspár Lajos
2010-08-24 18:17 ` Jan Engelhardt
0 siblings, 1 reply; 6+ messages in thread
From: Gáspár Lajos @ 2010-08-24 18:02 UTC (permalink / raw)
To: Jan Engelhardt, netfilter list
> 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 forever
Swifty
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OFF??? POINT-TO-POINT
2010-08-24 18:02 ` Gáspár Lajos
@ 2010-08-24 18:17 ` Jan Engelhardt
2010-08-24 18:45 ` Gáspár Lajos
0 siblings, 1 reply; 6+ messages in thread
From: Jan Engelhardt @ 2010-08-24 18:17 UTC (permalink / raw)
To: Gáspár Lajos; +Cc: netfilter list
On Tuesday 2010-08-24 20:02, Gáspár Lajos wrote:
>
>> 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 forever
Tricky :)
And `ip route`?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OFF??? POINT-TO-POINT
2010-08-24 18:17 ` Jan Engelhardt
@ 2010-08-24 18:45 ` Gáspár Lajos
2010-08-24 19:05 ` Jan Engelhardt
0 siblings, 1 reply; 6+ messages in thread
From: Gáspár Lajos @ 2010-08-24 18:45 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter list
>> 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 forever
> Tricky :)
>
> And `ip route`?
>
192.168.1.2 dev vlan4094 scope link
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OFF??? POINT-TO-POINT
2010-08-24 18:45 ` Gáspár Lajos
@ 2010-08-24 19:05 ` Jan Engelhardt
0 siblings, 0 replies; 6+ messages in thread
From: Jan Engelhardt @ 2010-08-24 19:05 UTC (permalink / raw)
To: Gáspár Lajos; +Cc: netfilter list
On Tuesday 2010-08-24 20:45, Gáspár Lajos wrote:
>
>>> 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 forever
>> Tricky :)
>>
>> And `ip route`?
>>
> 192.168.1.2 dev vlan4094 scope link
So everything is correct.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-24 19:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24 17:36 OFF??? POINT-TO-POINT Gáspár Lajos
2010-08-24 17:55 ` Jan Engelhardt
2010-08-24 18:02 ` Gáspár Lajos
2010-08-24 18:17 ` Jan Engelhardt
2010-08-24 18:45 ` Gáspár Lajos
2010-08-24 19:05 ` Jan Engelhardt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.