Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Gáspár Lajos" <swifty@freemail.hu>
To: netfilter list <netfilter@vger.kernel.org>
Subject: OFF??? POINT-TO-POINT
Date: Tue, 24 Aug 2010 19:36:06 +0200	[thread overview]
Message-ID: <4C740306.1010209@freemail.hu> (raw)

  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

             reply	other threads:[~2010-08-24 17:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24 17:36 Gáspár Lajos [this message]
2010-08-24 17:55 ` OFF??? POINT-TO-POINT 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C740306.1010209@freemail.hu \
    --to=swifty@freemail.hu \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox