Koozali.org: home of the SME Server

Need help please

valexvo

Need help please
« on: September 01, 2005, 12:34:27 PM »
HI,

I'm trying to setup a Private server and gateway on SME server 6.05rc1 and I don't know how to configure the nic for Internet. My ISP give me the following :
IP address       : aa.bb.ccc.166
Mask             : 255.255.255.252
Default gateway  : aa.bb.ccc.165
and 2 DNS addreses.
Need help also on how to configure the PC on lan to have access to Internet with SME.

On win2k with NAT (local IP:192.168.0.150) I setup the internet nic with the above settings and the Pc on lan with the default gateway of the server (192.168.0.150).

Any help apreciated
THX
regards
alex

Offline jmartin

  • ***
  • 58
  • +0/-0
    • http://www.ci.wayne.mi.us
Need help please
« Reply #1 on: September 01, 2005, 01:42:48 PM »
What are you plugging the external nic into?  Does that device provide dhcp?

valexvo

Need help please
« Reply #2 on: September 01, 2005, 03:22:04 PM »
Radio modem with lan output and fix IP as described above

THX for quick reply
alex

Offline compdoc

  • *
  • 226
  • +0/-0
Need help please
« Reply #3 on: September 01, 2005, 06:03:42 PM »
as long as its ethernet, you just configure static ip with those values. you do have 2 ethernet cards installed, yes?
Make sure the one you define as external is set up that way..

valexvo

Need help please
« Reply #4 on: September 01, 2005, 08:09:15 PM »
Yes I have 2 nic : one for internal lan (IP 192.168.0.150) and one for Internet, cofigured with static IP
IP              : aa.bb.ccc.166
Mask            : 255.255.255.252
Default gateway : aa.bb.ccc.165
(my ISP give these values)

On win2k server with NAT this settings works ok.
On SME server same settings are not working.
On console : Test Internet access give me error.

Thanks for answers
regards
alex

Offline dmac

  • ****
  • 143
  • +0/-0
    • http://www.rylar.ca
Need help please
« Reply #5 on: September 01, 2005, 08:31:30 PM »
What error are you getting?

Have you tried to switch the cables between the NIC's?  I have this problem when I use the same brand NIC's, can never remember which is the internal / external.  

If all your setting are correct, then you should be getting the internet connection.
"In a world without Fences, why do we need Gates and Windows"

valexvo

Need help please
« Reply #6 on: September 02, 2005, 06:59:22 AM »
I'm using 2 diferent nic's (3com and rtl), so I can't make mistake and I use another PC conected to local LAN nic to configure the server via HTTP and Putty.

The error is as in this picture :

 

Thanks
alex

Offline compdoc

  • *
  • 226
  • +0/-0
Need help please
« Reply #7 on: September 02, 2005, 01:25:21 PM »
Im not sure what you mean by:

"On win2k with NAT (local IP:192.168.0.150) I setup the internet nic with the above settings"

Is that Win2k Server? Is the SME server replacing that one, or in front of it or behind it? Is that just to test?

Its possible you have a bad network card, a hardware conflict, or a bad cable. Hope you arent making your own patch cords - thats a large source of failure in my experience. You can buy them factory made for a couple of dollars.

Try the nics in other pci slots, and dont use pci slot #1 if you use an agp video card.

As far as setting up clients, just set them to obtain an ip address automatically, and enable DHCP on the SME server. Makes life simple that way...

Offline arne

  • *****
  • 1,116
  • +0/-4
Need help please
« Reply #8 on: September 02, 2005, 02:00:14 PM »
I read the question in a way that the sme box will replace the windows 2000 server. .. Right ?? (As I will belive that a standard Windows 2000 server without the ISA server installation will not be able to perform the dnat fuction to a sme server behind the Win 2000 server.)

If there is no Win 2000 in front of the sme box, try to find out the status of the two netvork cards, if they are up and running in Linux or not. Go into the console shell enter the commands:

ifconfig eth0 and ifconfig eth1

Drop the info here.

By the way the 192.168.0.150 is a very strange address for a LAN gateway card ??!! I would use 192.168.0.1 or 10.0.0.1 (I would expect the .150 address to work as well, bu why not replace it with something more "usual" to eleminate potensial problems.)

One other thing, if the ifconfig command show correct info try then also to change the cables betwen "propably eth0" and "propably eth1".
......

Offline arne

  • *****
  • 1,116
  • +0/-4
Need help please
« Reply #9 on: September 02, 2005, 02:12:10 PM »
You can also run command "ifconfig -a"
......

valexvo

Need help please
« Reply #10 on: September 06, 2005, 06:29:01 AM »
I want to use the SME server to replace the win2k server, not in front or behind other server. The cables I use are OK because they work with win2k server.
My Ifconfig is as below :



 
On another thred, somebody told me to use a static IP in the range of my modem and not the static IP given to me by my ISP , see http://forums.contribs.org/index.php?topic=28695.msg119339#msg119339

Sorry for the delay and many thanks.

Any advise welcomed.
alex