Koozali.org: home of the SME Server

Problem with pinging my router

Jakes R

Problem with pinging my router
« on: May 16, 2007, 05:43:06 PM »
Hi there

I am new to the SME Server product and has just completed my first SME Server installation. I have managed to get almost everything working as I required it, thanks to this forum.

I do still have a problem pinging mt router. This is my setup: ISP >> Router >> SME Server (Server and Gateway) >> LAN.

I can ping any address, inside my LAN as well as outside, but cannot get my Router to talk back. The request time out. My router's IP Address is in the same range as my LAN. I need this to get to the router's browser interface to manage it's configuration.

Thanks

Jakes R

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problem with pinging my router
« Reply #1 on: May 16, 2007, 07:35:46 PM »
Quote from: "Jakes R"
Hi there

I am new to the SME Server product and has just completed my first SME Server installation. I have managed to get almost everything working as I required it, thanks to this forum.

I do still have a problem pinging mt router. This is my setup: ISP >> Router >> SME Server (Server and Gateway) >> LAN.

I can ping any address, inside my LAN as well as outside, but cannot get my Router to talk back. The request time out. My router's IP Address is in the same range as my LAN. I need this to get to the router's browser interface to manage it's configuration.

Thanks

Jakes R


that's wrong

wan address must be different from lan one..

so:
1) be sure your router's address is in the same range of wan interface.. (example 192.168.1.x) and put router's ip as gateway for sme
2) be sure your lan address is in a different range from wan (example 192.168.20.x)

if your router blocks requests coming from addresses different from HIS lan range (in this case from sme wan) then:
- you can manage from sme shell via cli (if there is one)
- you have to plug in a pc directly on the router..

HTH and.. forgive my english ;-)

ciao
Stefano

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Problem with pinging my router
« Reply #2 on: May 17, 2007, 04:57:32 AM »
Yes, nenonano is correct. You need different subnets for the WAN and the LAN.
eg:

ISP
(w.x.y.z)
|
|
(w.x.y.a) - External address
Router
(10.0.n.1) - Internal address
|
|
(10.0.n.2) - External
SME Server/Gateway
192.168.1.1 - Internal
|
|
(192.168.1.2--254)
Workstations


In this example:
the WAN is the 10.0.n.0 network
the LAN is the 192.168.1.0 neywork

Cheers
Ian
___________________
Sydney, NSW, Australia

Jakes R

Problem with pinging my router
« Reply #3 on: May 17, 2007, 08:35:03 AM »
Thank for the info, but still no joy!

This is my setup now:

ISP
(w.x.y.z) - OK
|
|
(w.x.y.a) - External address  - OK
Router
(192.168.1.1) - Internal address - OK
|
|
(?.?.?.?) - External - ?? I am not sure what this address is. During configuration of SME, one can only choose the second NIC, but cannot set the WAN IP address.
SME Server/Gateway
192.168.0.2 - Internal  - OK
|
|
(192.168.0.3--254)  - OK
Workstations

As I said, I am new in this.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Problem with pinging my router
« Reply #4 on: May 17, 2007, 10:25:03 AM »
Quote from: "Jakes R"
Thank for the info, but still no joy!

(?.?.?.?) - External - ?? I am not sure what this address is. During configuration of SME, one can only choose the second NIC, but cannot set the WAN IP address.


As I said, I am new in this.


Hi..

try reading
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter5#Option_2:_Private_server_and_gateway

HTH
Ciao
Stefano

Offline skydivers

  • *
  • 178
  • +0/-0
Problem with pinging my router
« Reply #5 on: May 17, 2007, 12:22:58 PM »
Quote

(?.?.?.?) - External - ?? I am not sure what this address is. During configuration of SME, one can only choose the second NIC, but cannot set the WAN IP address.


Normally during config you chose for static IP or dynamic IP for external IP. Probably you hav to search here for the problem.

Ext IP of the server must be in the same range as int IP router -> 192.168.1.1 (Router) - 192.168.1.5 (SME)

Jakes R

Problem with pinging my router
« Reply #6 on: May 17, 2007, 12:36:51 PM »
I choose PPPoE because I have an ADSL connection. When chosing PPPoE it does not give an option to set the SME WAN IP Address.

I changed my Router's IP Address to be 10.0.0.1 and my SME Server LAN IP is 192.168.0.2.

It looks like the SME server is clever enough and some how sets the IP Address automatically, because all my workstations and my SME server have internet connectivity.

Still no luck to ping this router of mine!

Offline skydivers

  • *
  • 178
  • +0/-0
Problem with pinging my router
« Reply #7 on: May 17, 2007, 12:49:09 PM »
Quote from: "Jakes R"
I choose PPPoE because I have an ADSL connection. When chosing PPPoE it does not give an option to set the SME WAN IP Address.

I changed my Router's IP Address to be 10.0.0.1 and my SME Server LAN IP is 192.168.0.2.

It looks like the SME server is clever enough and some how sets the IP Address automatically, because all my workstations and my SME server have internet connectivity.

Still no luck to ping this router of mine!


If you use a router you can set your EXT IP of your SME to static and put it in the same range, there's no need to use PPPoE when your SME is behind a router.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Problem with pinging my router
« Reply #8 on: May 17, 2007, 12:52:31 PM »
Quote from: "Jakes R"
I choose PPPoE because I have an ADSL connection. When chosing PPPoE it does not give an option to set the SME WAN IP Address.

I changed my Router's IP Address to be 10.0.0.1 and my SME Server LAN IP is 192.168.0.2.

It looks like the SME server is clever enough and some how sets the IP Address automatically, because all my workstations and my SME server have internet connectivity.

Still no luck to ping this router of mine!


Hi..

post here the output of:

Code: [Select]

ifconfig eth1


AFAIR with pppoe you get a public ip on your external interface...
that's why you can not ping your router..

ciao
Stefano

Jakes R

Problem with pinging my router
« Reply #9 on: May 17, 2007, 02:18:02 PM »
I typed the command in on the root login. I hope it is what you want.

Link encap:Ethernet HWaddr 00:19:5b:69:19:9B
UPBROADCAST RUNNING MULTICAST MTU:1500 METRIX:1
RX packets:16326 errors:0 dropped:0 overuns: frame:0
RX packets:15988 errors:0 dropped:0 overuns: carrier:0
Collisions:0 txqueuelen:1000
RX bytes:6140818 (5.8 MiB) TX Bytes: 2202015 (2.1 MiB)
Interupt:169 Base address:0Xa000

Jakes R

Offline Stefano

  • *
  • 10,894
  • +3/-0
Problem with pinging my router
« Reply #10 on: May 17, 2007, 02:45:30 PM »
Quote from: "Jakes R"
I typed the command in on the root login. I hope it is what you want.

Link encap:Ethernet HWaddr 00:19:5b:69:19:9B
UPBROADCAST RUNNING MULTICAST MTU:1500 METRIX:1
RX packets:16326 errors:0 dropped:0 overuns: frame:0
RX packets:15988 errors:0 dropped:0 overuns: carrier:0
Collisions:0 txqueuelen:1000
RX bytes:6140818 (5.8 MiB) TX Bytes: 2202015 (2.1 MiB)
Interupt:169 Base address:0Xa000

Jakes R


sorry..

can you please post the output of
Code: [Select]

ifconfig


?

thanks
Stefano

Jakes R

Problem with pinging my router
« Reply #11 on: May 17, 2007, 04:10:53 PM »
Hi

There is a lot of data that gets displayed when using the "ifconfig" command. I looked at the data and saw the following under the ppp0 entry:

inet addr: xxx.243.19.217 p-t-p: xxx.241.160.1 Mask: 255.255.255.255

I hope this make sense.

Jakes R

Offline Stefano

  • *
  • 10,894
  • +3/-0
Problem with pinging my router
« Reply #12 on: May 17, 2007, 04:22:42 PM »
Quote from: "Jakes R"
Hi

There is a lot of data that gets displayed when using the "ifconfig" command. I looked at the data and saw the following under the ppp0 entry:

inet addr: xxx.243.19.217 p-t-p: xxx.241.160.1 Mask: 255.255.255.255

I hope this make sense.

Jakes R


yes, it does.. :-)

well, like skydivers said, if your router is really a router, you can put a static ip on your wan interface in the same subnet of your router one..
this is the easyest way to make things running as you like..

is there any reason to use pppoe?

ciao
Stefano