All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Reinaldo Brandão Gomes" <rbgomes@mmsi.com>
To: <linux-kernel@vger.kernel.org>
Subject: Routing issue
Date: Fri, 29 Aug 2003 15:46:51 -0300	[thread overview]
Message-ID: <750101AD3F99AC48B736D925301067C11E0E32@recexch.vpn.mmsi.com> (raw)

Thanks, Ray

For I have been told that trying NATing on a Linux SuSE sparc arch is not a good idea, as a friend had crashed its system repeated times trying to do it, besides there are some security issues related to NAT, I decided to update the routing table on the remote end

The point is that to do so, to route the 172.18.1.0 back to 192.168.14.0 using the INTRANET server (172.16.8.51) as gateway it (the INTRANET server) would need to have an IP address on the 172.18.1.0 subnet.

Traceroute from 172.18.1.204 to 172.16.8.51 gives:

Traceroute to 172.16.8.51 (172.16.8.51), 30 hops max, 40 byte packets  1  172.18.1.68 (172.18.1.68)  0.506 ms  0.422 ms  2.939 ms  2  172.18.1.1 (172.18.1.1)  1.991 ms  3.035 ms  3.167 ms  3  192.168.42.1 (192.168.42.1)  13.844 ms  10.905 ms  2.516 ms  4  192.168.43.1 (192.168.43.1)  9.808 ms  92.118 ms  26.526 ms  5  172.16.8.51 (172.16.8.51)  81.256 ms  115.822 ms  19.080 ms

My question now is:  HOW can I find out what would be the INTRANET server (172.16.8.51) IP address on 172.18.1.0 subnet (if any) or is there any other way to route 172.18.1.0 back to 192.168.14.0?

Responses are really appreciated.

Reinaldo

-----Mensagem original-----
De: Ray Olszewski [mailto:ray@comarre.com] 
Enviada em: quinta-feira, 28 de agosto de 2003 15:44
Para: Reinaldo Brandão Gomes
Assunto: Re: ENC: Routing issue

The obvious question: is boavista NATing the 192.168.14.0/24 network or 
simply routing it? If the second, the most likely source of your problem is 
that the remote router (172.16.8.51) does not know that boavista's ppp IP 
address (172.16.8.63, I think) is its route to network 192.168.14.0/24 . To 
fix this, either update the routing table on the remote end or NAT the 
local LAN.

At 02:20 PM 8/28/2003 -0300, Reinaldo Brandão Gomes wrote:


>Hi, ray
>
>Just got your email from google.  Really hope you can help me here.
>
>
>I am trying to create a connection from our office to a client net.
>
>What I want to do is showed in the following line:
>
>192.168.14.10 --etho-> 192.168.14.11 --ppp0--> 172.16.8.51 --eth0--> 
>172.18.1.0 (dispatch net in Itabira)
>  (bviagem)               (boavista)          (client 
> intranet)       client servers
>
>I have created a dialup connection from 192.168.14.11 (sparc_linux
>suse)
>to 172.16.8.51 (Client intranet server), using wvdial. After connecting to 
>172.16.8.51, I run, in 192.168.14.11:
>
>Route add -net 172.18.1.0 gateway 172.16.51 dev ppp0
>
>And can ping, telnet, rsh the clients servers in Itabira from
>192.168.14.11.
>
>So far so good.
>
>After that I ran
>
>
>192.168.14.11(boavista) is Linux, and its kernel supports ip_forward.
>
>echo "1" > /proc/sys/net/ipv4/ip_forward in boavista, then
>
>cat /proc/sys/net/ipv4/ip_forward returns 1
>
>In 192.168.14.10 (bviagem - Unix), after route add -net 172.18.1.0 
>192.168.14.11, netstat -r shows:
>
>Routing Table:
>   Destination           Gateway           Flags  Ref   Use   Interface
>-------------------- -------------------- ----- ----- ------ ---------
>172.18.1.0           boavista.vpn.mmsi.com UGH      0      0
>192.168.14.0         bviagem               U        3     16  hme0
>172.18.1.0           boavista.vpn.mmsi.com UG       0      4
>base-address.mcast.net bviagem             U        3      0  hme0
>default              192.168.14.1          UG       0     25
>localhost            localhost             UH       0      3  lo0
>
>Ifconfig in boavista shows:
>
>eth0      Link encap:Ethernet  HWaddr 08:00:20:F8:54:28
>           inet addr:192.168.14.11  Bcast:192.168.14.255  Mask:255.255.255.0
>           inet6 addr: fe80::a00:20ff:fef8:5428/10 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:32792 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:32484 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:2228241 (2.1 Mb)  TX bytes:12791952 (12.1 Mb)
>           Interrupt:32 Base address:0x6000
>
>lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:61363 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:61363 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:12463074 (11.8 Mb)  TX bytes:12463074 (11.8 Mb)
>
>ppp0      Link encap:Point-to-Point Protocol
>           inet addr:172.16.8.63  P-t-P:172.16.8.51  Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1600  Metric:1
>           RX packets:1937 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2020 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:3
>           RX bytes:162484 (158.6 Kb)  TX bytes:169357 (165.3 Kb)
>
>
>I can ping 172.18.1.204 (client server) from boavista, but a ping 
>172.18.1.204 from bviagem fails:
>
>NO answer from 172.18.1.204.
>
>Can you see what I am missing here?
>
>Thanks,
>
>Reinaldo



                       .'.
Linux                  /V\       
Dont Fear The Penguin // \\  
rbgomes@mmsi.com     /(   )\
                      ^^-^^
 

             reply	other threads:[~2003-08-29 18:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29 18:46 Reinaldo Brandão Gomes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-06 19:12 Routing issue Florin Vlaicu
     [not found] ` <CAOAVeL0mxeXGJXs6idBXyi8ibVvJ2d3qAtEo2Yd2Bby37zQ1RQ@mail.gmail.com>
2021-03-09  7:21   ` Florin Vlaicu
2012-09-26 11:01 Stephen Clark
2001-11-26 17:55 routing issue Julian Anastasov
2001-11-26 11:56 Hisham Kotry

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=750101AD3F99AC48B736D925301067C11E0E32@recexch.vpn.mmsi.com \
    --to=rbgomes@mmsi.com \
    --cc=linux-kernel@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 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.