[ previous ] [ next ] [ threads ]
 
 From:  "S. Klapprott" <sascha dot klapprott at freenet dot de>
 To:  "'Peter Allgeyer'" <allgeyer at web dot de>
 Cc:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  AW: [m0n0wall] Help to get this route to work ?
 Date:  Wed, 29 Jun 2005 01:32:11 +0200
Hi Peter,

1) 192.168.178.1 is right - ist the internal IP of the DSL Modem (DSL
FRITZBOX) - the IP couldn't be changed... if I plug the dsl modem to the
opt1 port I can connect :)

2) I'll get my external ip over ppooe

3) Yes I set up the 192.168.178.2 to my m0n0,
Here is post, if I type ifconfig perhaps it could help

$ ifconfig
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=40<POLLING>
	inet 192.168.178.2 netmask 0xffffff00 broadcast 192.168.178.255
	ether 00:0d:b9:00:d7:28
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
sis1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	options=40<POLLING>
	inet 10.10.1.254 netmask 0xff000000 broadcast 10.255.255.255
	ether 00:0d:b9:00:d7:29
	media: Ethernet autoselect (none)
	status: no carrier
sis2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	options=40<POLLING>
	ether 00:0d:b9:00:d7:2a
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1492
	inet 82.82.172.61 --> 145.253.4.128 netmask 0xffffffff

4) YES - it's disabled

5) here is my netstat-rn

$ netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            145.253.4.128      UGSc        4     4746    ng0
10                 link#2             UC          1        0   sis1
10.10.1.1          04:4b:80:80:80:03  UHLW        5     5155   sis1    710
82.82.172.61       lo0                UHS         0        0    lo0
127.0.0.1          127.0.0.1          UH          1     1002    lo0
145.253.4.128      82.82.172.61       UH          5        0    ng0
192.168.178        link#1             UC          1        0   sis0
192.168.178.1      00:04:0e:49:01:fe  UHLW        0        3   sis0   1068



I have found out:
If I type http://192.168.178.1 my DSL Modem isn't reacable, if I type
http://192.168.178.2 my m0n0 comes up. Perhaps I've assigned 1922.168.178.2
only to the wrong interface ? 

@PETER
Have you ICQ ? Perhaps its a bit easier for me to explain my problem in
german to you :) 

Danke / Thanks!!!

Sascha


Von: Peter Allgeyer [mailto:allgeyer at web dot de] 
Gesendet: Dienstag, 28. Juni 2005 12:18
An: S. Klapprott
Cc: m0n0wall at lists dot m0n0 dot ch
Betreff: Re: [m0n0wall] Help to get this route to work ?

Hi Sascha!

Am Dienstag, den 28.06.2005, 09:15 +0200 schrieb S. Klapprott:
> I've done the outbound nat like the tut said:
> http://home.arcor.de/sashxp/etc/m0n0.GIF
> 
> I've also add an alias ( 192.168.178.2 ) - but if I try to ping
> 192.168.178.1 from my m0n0 it says "no route to host" what route should I
> create ?

Although I don't understand really where the the problem is, I'll try to
help. Please answer some questions for me:

     1. IP address/mask of your modem (192.168.178.1/24? Have checked
        this? How?)
     2. Physical IP address/mask of your external interface? Obtained IP
        address/mask statically, by DHCP or by PPPoE?
     3. Alias IP address/mask of your external interface
        (192.168.178.2/24? Have checked this? How?)
     4. Disabled "Block private networks" on WAN interface page?
     5. routing table, see below

If you've assigned an IP address (physical or as an alias) to one of
your interfaces, the route to the specified net (by assigning an address
mask) will be automatically added. There is no need to enter a route to
a host/net within the net your interface lies in.

As a consequence, I'm interested in the routing table of your m0n0.
Please go to http(s)://<m0n0-ip>/exec.php and type in "netstat -rn".
Please post the result to this list. An output of
http(s)://<m0n0-ip>/status.php would be very nice, too (it also includes
the routing table). Please make sure to remove any sensitive information
(especially passwords) before posting it to the list.

You are also welcomed to contact me directly (in german, if you prefer).

Ciao ...
	... PIT ...


---------------------------------------------------------------------------
 copyleft(c) by |   _-_     I am NOT a kludge! I am a computer!  -- tts
 Peter Allgeyer | 0(o_o)0
---------------oOO--(_)--OOo-----------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch