Koozali.org: home of the SME Server

Can't connect to internet

Offline Drdwithaphd

  • *
  • 6
  • +0/-0
Can't connect to internet
« on: July 19, 2008, 08:15:16 PM »
I can connect to the SM from LAN computer but can not access the internet from SME

This is my setup

Primary Domain : blahblah.com
System Name: Blah
Local Network ethernet: Nvidia Corp
Local network parameters: 192.168.23.190
Subnet Mask: 255.255.255.0
Operation Mode: Server & gateway
External access mode: Server & Gateway - dedicated
External Network ethernet: 3Com corp
Interface Configuration: Use DHCP(send ethernet address as client indentifier)
Dynamic DNS Service: Not Used
DHCP server configuration: Provide DHCP service to local network
Begin Dhcp range: 192.168.23.230
Ending Dhcp Range: 192:168.23.250
Corporate DNS server address: left Blank

When I try to do the Test Internet access, I get Internet connection failed

Connection is as follows with static IP:

ISP<---->Router<--->Server & Gateway<--->switch<--->computers/printers

Router DHCP is disabled.

If I turn back on Dhcp on router I can access internet

What am I doing wrong.



« Last Edit: July 19, 2008, 09:20:52 PM by Drdwithaphd »

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Can't connect to internet
« Reply #1 on: July 19, 2008, 10:46:48 PM »
I just can guess, because you do not say your router configuration (IP and netmask).
So my guess is you're trying to put your lan on same network as your router (192.168.23.x).
It should be a router, so the lan should be one (e.g. 192.168.10.x) and your router another (192.168.23.x)
That means one of NIC on server should be on each network, but not both of them on same.

Just as below:
[root@pantera ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:B9:CA:13:02
          inet addr:192.168.124.1  Bcast:192.168.124.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:89217 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92022 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8330157 (7.9 MiB)  TX bytes:21971731 (20.9 MiB)
          Interrupt:169 Memory:f8000000-f8012100

eth1      Link encap:Ethernet  HWaddr 00:10:18:2C:66:CE
          inet addr:192.168.72.1  Bcast:192.168.72.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:123234 errors:0 dropped:0 overruns:0 frame:0
          TX packets:131019 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16583566 (15.8 MiB)  TX bytes:27358118 (26.0 MiB)
          Interrupt:169


BTW: I guess this because of higher IP of your server (.190)!

if this is not your case, please post:
1) an ifconfig from your server
2) results of ping xx.xx.xx.xx where xx.xx.xx.xx is your router
3) results of ping 200.176.3.142
4) configuration of your router (IP, netmask)
...

Offline Drdwithaphd

  • *
  • 6
  • +0/-0
Re: Can't connect to internet
« Reply #2 on: July 19, 2008, 11:57:50 PM »
Router Ip: 192.168.23.1, netmask: 255.255.255.0

Server ip: 192.168.23.190 netmask:255.255.255.0

computer Ip: 192.168.23.149 netmask : 255.255.255.0 gateway:192.168.23.190
Computer is setup as dhcp client

eth1 = no address

eth0 = inet addr:192.168.23.190 Bcast 192.168.23.255 Mask:255.255.255.0


If I ping router 192.168.23.1 from server It destination host unreachable

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Can't connect to internet
« Reply #3 on: July 20, 2008, 02:40:57 PM »
Drdwithaphd

Please see your other post as your configuration seems to be wrong.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.