[ LUGOS ] ip-masq

Marko Cuk cuk na cuk.nu
Čet Avg 5 10:09:59 CEST 1999


Miha Dezman wrote:

> Helow...
> Se pravi problem imam z ip-masq.
> Imam dve linux masini. Masina A na kateri laufa ip-masq je
> prikloplena direkt na i-net, masino B pa imam preko ppp-ja vezano na
> masino A. Sedaj pa ne vem kako naj nastavim masino A, da se bo
> obnasala KOT ROUTER in ne tako kot sedaj ko imam vspostavljen
> ip-masq. Se pravi da bi bila masina B odzunaj vidna, kot
> da je prikloplena direkt na i-net, ne pa tako kot je pri ip-masq,
> ko masina ni vidna in vse skupaj zgleda, kot da se vse dogaja
> na masini A ter da masina B sploh ne obstaja.

Ce imas IP, ki je routabilen in pravi, samo pppdju dopovej, naj ti
dodeli pac IP adreso.

# If you need to set up multiple serial lines then copy
# this file to
# options.<ttyname>     for each tty with a modem on it.
#
# The options.tty file will assign an IP address to each PPP connection
# as it comes up. They must all be distinct!
#
# Example:
# options.ttyS1         for com2 under DOS.
#
# Edit the following line so that the first IP address
# mentioned is the is the IP address of your host while the second
# is the ip address of the serial port
#
# I usually use the convention io + dash + last 2 character of
# the ttyname to refer to serial ports.
# For example servername-s1 for ttyS1 on server "servername"

io:192.168.2.15

Ok, tle je pac maskirana, ampak daj pac tvojo,pravo, routing si pa
popravi z route add ...

Cuk





Dodatne informacije o seznamu Starilist