🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #158016

Re: Do you see anything strange in these routing tables that would cause this problem?

#158016
From: William Unruh
Date: Thu, 16 Oct 2014 19:35
95 lines
5317 bytes
On 2014-10-16, David Howard <dshoward@microsoft.com> wrote:
> On Thu, 16 Oct 2014 12:57:31 -0500, Cybe R. Wizard wrote:
>
>> Assuming no typo, it (255.255.255.255) is the broadcast address 
>> for the local network.
>
> It was a boo boo.
>
> But, the question is really why are these routing tables, all of 
> which do the exact same thing strategically, so very different?

Not sure what you mean by "strategically" since some of them have tun,
some ppp etc, so the routing tables all do very different things. 
>
> 0. NO VPN
> $ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0

Default goes to 192.168.1.1
> 192.168.1.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0
anything to 192.168.1.x goues out the wlan0 directly (arp).

>
> 1. VPNONECLICK VPN
> $ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 0.0.0.0         10.43.0.69      128.0.0.0       UG    0      0        0 tun0
Anything to an address whose 5th bit is not 1 in the first byte of the
address  goes out to 10.43.0.69

> 10.43.0.69      0.0.0.0         255.255.255.255 UH    0      0        0 tun0
And that goes directly over tun0 

> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
default goes out over 192.168.1.1 

> 10.43.0.1       10.43.0.69      255.255.255.255 UGH   0      0        0 tun0
10.43.0.1 goes to 10.43.0.69 
But this is already covered in the first line, since 10 does not have
its fifth bit as 1.

> 50.22.146.54    192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
> 128.0.0.0       10.43.0.69      128.0.0.0       UG    0      0        0 tun0

And anything with its fifth bit as 1 also goes to 10.43.0.69
So everything goes over tun0 excpt 50.22.146.54 and 209.222.0.224 and
192.168.1.x which go over wlan0. 

> 192.168.1.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0
> 209.222.0.224   192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
>
> 2. SECURITYKISS VPN
> $ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
default goes over ppp0 directly to the far end of the connection which
is expected to handle it. 

> 10.64.0.1       0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
Including 10.64.0.1

> 192.168.1.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0
except 192.168.1.x 
> 217.147.83.21   192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
and 217.147.83.21

> 217.147.83.21   192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
>
> 3. THREATSPIKE VPN
> $ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 tun0
Default is tun0 directly expecting the far end to handle it.

> 172.30.254.0    0.0.0.0         255.255.255.0   U     0      0        0 tun0
including 172.30.254.x
> 77.75.104.70    192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
except 77.75.104.70 which goes to 12.168.1.1

> 192.168.1.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0
and 192.168.1.x which goes directly over wlan0 and arp.

O>
> What do the three VPN routing tables look so different, when they 
> all do exactly the same thing?

Which is what?
And why can they not look different. There are many ways of doing
things. 
>
Technical Details
Message-ID: <m1p6m2$q6v$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <m1lfic$gfj$1@news.albasani.net> <m1mgku$10p6$1@saria.nerim.net> <20141015184216.0cb6ea31@WizardsTower.invalid> <m1ns8q$1eb8$2@saria.nerim.net> <m1omsu$sjr$1@dont-email.me> <20141016125731.5d5abf45@WizardsTower.invalid> <m1p433$lha$5@news.albasani.net>

Show Full Headers
Complete Article Headers
Message-ID: <m1p6m2$q6v$1@dont-email.me>
Subject: Re: Do you see anything strange in these routing tables that would cause this problem?
Date: Thu, 16 Oct 2014 19:35:30 +0000
From: William Unruh <unruh@invalid.ca>
References: <m1lfic$gfj$1@news.albasani.net> <m1mgku$10p6$1@saria.nerim.net> <20141015184216.0cb6ea31@WizardsTower.invalid> <m1ns8q$1eb8$2@saria.nerim.net> <m1omsu$sjr$1@dont-email.me> <20141016125731.5d5abf45@WizardsTower.invalid> <m1p433$lha$5@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: alt.os.linux,alt.os.linux.ubuntu,alt.free.newsservers
Organization: A noiseless patient Spider
Lines: 95
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Oct 2014 19:35:30 +0000 (UTC)
Injection-Info: mx02.eternal-september.org;
 posting-host="bce60fb4c4f81b126f867f22d396ac27";
 logging-data="26847"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1+SiM/roMPm0q8jaY/PwnSW"
User-Agent: slrn/0.9.9p1 (Linux)
Cancel-Lock: sha1:fGq1GUBbs9m0aonpgp4TX7CBhBs=