Help :) Configure IP addresses...

Forum zu aktuellen Geräten der LANCOM Router/Gateway Serie

Moderator: Lancom-Systems Moderatoren

Antworten
Bojan123
Beiträge: 14
Registriert: 07 Okt 2006, 11:39

Help :) Configure IP addresses...

Beitrag von Bojan123 »

Ok... i'm newbie in this.

Router IP: 192.168.150.1
LAN addresses range: 192.160.150.x
Subnet mask: 255.255.255.0
Router gets IP from provider in range: 85.94.142.x

Now i want to configure each computer on network with different public IP address.

What do i need to set? Here is pics by default...
BildBild

Help...
backslash
Moderator
Moderator
Beiträge: 7126
Registriert: 08 Nov 2004, 21:26
Wohnort: Aachen

Beitrag von backslash »

Hi Bojan123

if your provider assigns you a complete network, just configure this network as DMZ:

Code: Alles auswählen

DMZ IP Address:  85.94.142.1
DMZ Netmask:     255.255.255.0
and change the masquerading option for the default route to "masking intranet only". you can change this at ip-router -> routing -> touting-table by selecting the route with addresss 255.255.255.255 and netmask 0.0.0.0

because the DHCP server only assigns IP addresses from the intranet, you have to configure each host in the DMZ manually:

Code: Alles auswählen

Host IP address:  one address from your network (85.94.142.2 .. 85.94.142.254)
Host netmask:     255.255.255.0
Default gateway:  85.94.142.1 (the LANCOM)
DNS server:       85.94.142.1 (the LANCOM)
WINS server:      85.94.142.1 (the LANCOM)
regards
backslash
Bojan123
Beiträge: 14
Registriert: 07 Okt 2006, 11:39

Beitrag von Bojan123 »

I set this:

Code: Alles auswählen

if your provider assigns you a complete network, just configure this network as DMZ: 

Code:  ‹ Select ›  
DMZ IP Address:  85.94.142.1 
DMZ Netmask:     255.255.255.0  


and change the masquerading option for the default route to "masking intranet only". you can change this at ip-router -> routing -> touting-table by selecting the route with addresss 255.255.255.255 and netmask 0.0.0.0
I am sorry... but where i need to set this? Guide me...

Code: Alles auswählen

Host IP address:  one address from your network (85.94.142.2 .. 85.94.142.254) 
Host netmask:     255.255.255.0 
Default gateway:  85.94.142.1 (the LANCOM) 
DNS server:       85.94.142.1 (the LANCOM) 
WINS server:      85.94.142.1 (the LANCOM) 
backslash
Moderator
Moderator
Beiträge: 7126
Registriert: 08 Nov 2004, 21:26
Wohnort: Aachen

Beitrag von backslash »

Hi Boran123
am sorry... but where i need to set this? Guide me...
this depends on the operating system that is running on the hosts (Windows/Linux/MAC-OS etc...).

regards
beckslash
Bojan123
Beiträge: 14
Registriert: 07 Okt 2006, 11:39

Beitrag von Bojan123 »

Windows, XP SP2
backslash
Moderator
Moderator
Beiträge: 7126
Registriert: 08 Nov 2004, 21:26
Wohnort: Aachen

Beitrag von backslash »

Hi Bojan123

my problem is, that i don't have an english XP, but i can try..

start -> settings -> network (?) opens an explorer window that shows all your network adapters. do a right click on the LAN adapter and select "properties". In the properties dialog select "inetrent protocol (TCP/IP)" and press the "properties" button. In the next dialog you can enter IP address, netmask, gateway and DNS server.

To configure the WINS server (if needed) press "advanced" and select the WINS tab. On this tab press the "ADD" button configure the WINS server.

At last press OK on each dialog - that's all

regards
Backslash
Bojan123
Beiträge: 14
Registriert: 07 Okt 2006, 11:39

Beitrag von Bojan123 »

Not working...

Code: Alles auswählen

Host IP address:  one address from your network (85.94.142.2 .. 85.94.142.254) 
Host netmask:     255.255.255.0 
Default gateway:  85.94.142.1 (the LANCOM) 
DNS server:       85.94.142.1 (the LANCOM) 
WINS server:      85.94.142.1 (the LANCOM)
is this correct? ...if i set Host IP address as 85.94.142.x ... then how will my computer act in LAN? what is his IP address? I don't get this part...
backslash
Moderator
Moderator
Beiträge: 7126
Registriert: 08 Nov 2004, 21:26
Wohnort: Aachen

Beitrag von backslash »

Hi Bojan123

i thought that you wanted a "normal" network structure - that means:

normal Workstations are placed in the intranet (behind the NAT) and
some Servers are placed in the DMZ (directly accessible from the internet)

for these servers you need static ip addresses (else they wer not accessible from the internet) from the public address range. i told you how to configure these servers.

To access the servers from your intranet you just address them by their public addresses.

as i see now, you want do do something else - you want some or all of your hosts in your intranet beeing accessible from the intranet.

This can be done by a N:N-NAT that maps the hosts from your intranet to the DMZ. The N:N-NAT ist confgured at IP router -> N:N-Mapping -> N:N-NAT table. Enter an new entry:

Code: Alles auswählen

Destination remote site: name of your internet connection, e.g. INTERNET
Original source address: 192.168.150.0
Netmask:                 255.255.255.0
Mapped source address:   85.94.142.0

this entry mapps your whole intranet to the DMZ. In this case you have to give all your hosts static addresses out of your intranet to be able to access them from the intranet.

AFAIK you should not do this beacause it is a high security risc - especially because you say, that you are a newbie

regards
Backslash
Bojan123
Beiträge: 14
Registriert: 07 Okt 2006, 11:39

Beitrag von Bojan123 »

I don't need whole intranet, just 2 computers.
For example: one computer with IP Address: 192.168.150.18 and another 192.160.150.28

What's the settings for DMZ and for N:N-NAT now?
i'm sorry i bothering you
backslash
Moderator
Moderator
Beiträge: 7126
Registriert: 08 Nov 2004, 21:26
Wohnort: Aachen

Beitrag von backslash »

Hi Bojan123

you can leave the DMZ settings as they are, because the settings depend on what your provider assigns to you - all of my examples started on the assumption that your provider assigns a network with a netmask of 255.255.255.0. If you don't have a 255.255.255.0 network, than you have to change some addresses, depending on your real netmask.

For the N:N-NAT you just make two entries, one for each host, eg:

Code: Alles auswählen

Destination remote site: name of your internet connection, e.g. INTERNET
Original source address: 192.168.150.18
Netmask:                 255.255.255.255
Mapped source address:   85.94.142.18


Destination remote site: name of your internet connection, e.g. INTERNET
Original source address: 192.168.150.28
Netmask:                 255.255.255.255
Mapped source address:   85.94.142.28
regards
backslash
Bojan123
Beiträge: 14
Registriert: 07 Okt 2006, 11:39

Beitrag von Bojan123 »

Nothing :( my public IP address is still same.
Router is connected at: 85.94.142.125 and my client IP addess is still same.
Bojan123
Beiträge: 14
Registriert: 07 Okt 2006, 11:39

Beitrag von Bojan123 »

Can anyone give me his skype or msn... so he can guide me trough this to make configuration right?
Send it to my private messages.

Thank you.
Bojan123
Beiträge: 14
Registriert: 07 Okt 2006, 11:39

Beitrag von Bojan123 »

Moderator it's ok, you can close this subject now. I've configure it.
Backslash thanks on your help.

best regards.
Antworten