Tunnelling - Networking

This is a discussion on Tunnelling - Networking ; Hi all, I've got the following network setup: INTERNET | ROUTER 192.168.1.1 | | 192.168.1.34(eth0) PC1 192.168.0.1(ath0) | | 192.168.0.2 AP (bridge mode) 192.168.0.2 | | 192.168.0.3 PC0 The AP bridge is transparent so it's like a direct link from ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Tunnelling

  1. Tunnelling

    Hi all,
    I've got the following network setup:

    INTERNET
    |
    ROUTER
    192.168.1.1
    |
    |
    192.168.1.34(eth0)
    PC1
    192.168.0.1(ath0)
    |
    |
    192.168.0.2
    AP (bridge mode)
    192.168.0.2
    |
    |
    192.168.0.3
    PC0

    The AP bridge is transparent so it's like a direct link from PC0 to
    PC1. On PC1 I enabled forwarding, but I also need to set some rules.
    With Ubuntu I used to configure these rules through IP tables.
    Now using Damn Small Linux, I can't but use the following available
    tools:

    - iptunnel
    - ip
    - ifconfig

    what are the commands to allow communication from PC0 to ROUTER (and
    to the outer world) ?
    Thanks in advance

  2. Re: Tunnelling

    On Oct 1, 1:49*pm, InuY4sha wrote:
    > Hi all,
    > I've got the following network setup:
    >
    > INTERNET
    > * *|
    > *ROUTER
    > 192.168.1.1
    > * *|
    > * *|
    > 192.168.1.34(eth0)
    > * PC1
    > 192.168.0.1(ath0)
    > * *|
    > * *|
    > 192.168.0.2
    > *AP (bridge mode)
    > 192.168.0.2
    > * *|
    > * *|
    > 192.168.0.3
    > * PC0


    > what are the commands to allow communication from PC0 to ROUTER (and
    > to the outer world) ?
    > Thanks in advance


    ROUTER needs to be told that 192.168.1.34 is the gateway to
    192.168.0.0/24 (assuming that's a /24).

    DS

  3. Re: Tunnelling

    > ROUTER needs to be told that 192.168.1.34 is the gateway to
    > 192.168.0.0/24 (assuming that's a /24).
    >
    > DS


    Done; current settings:
    ifconfig eth0 192.168.1.34 netmask 255.255.255.0 broadcast
    192.168.1.255 up
    ifconfig ath0 192.168.0.1 netmask 255.255.255.0 broadcast
    192.168.0.255 up
    route add default gw 192.168.1.1

    last command tells the default gateway for both the interfaces... to
    prove this, I see that the router let blinks when pinging prom PC0.
    STILL I don't get the reply back... I don't have tcpdump on PC1 but I
    *know* that the message is dropped there, because switching the PC1
    with a ubuntu equipped one where I setted the routing rules with
    iptables, everthing works smoothly.


  4. Re: Tunnelling

    On Oct 2, 1:19*am, InuY4sha wrote:
    > > ROUTER needs to be told that 192.168.1.34 is the gateway to
    > > 192.168.0.0/24 (assuming that's a /24).

    >
    > > DS

    >
    > Done; current settings:
    > ifconfig eth0 192.168.1.34 netmask 255.255.255.0 broadcast
    > 192.168.1.255 up
    > ifconfig ath0 192.168.0.1 netmask 255.255.255.0 broadcast
    > 192.168.0.255 up
    > route add default gw 192.168.1.1


    That's gotta be the config for PC1. I'm talking about ROUTER.

    How does router know to send packets for 192.168.0.3 to PC1?

    DS

+ Reply to Thread