<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Imam dva routerja Alied Telesyn AR300. Na dveh
razlicnih lokacijah. Vsaka od teh dveh lokacij gre preko routerja na internet.
Vsak router dodeljuje IPje masinam preko DHCPja. Ta dva routerja sta tudi
povezana med sabo. Za dostop do interneta se uporablja NAT za dostop do firme pa
GRE. Problem pa je v tem, da GRE ne preusmerja pakete za drugo
firmo.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Je kdo delal kdaj s takima routerjema? Spodaj sta
se skripti za obe lokaciji.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----------:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>set sys name=NEKAJ<BR>set user=manager
pass=XXXXX<BR>set q931=0 profile=ETB num1=728<BR>add isdn call=siol
num=0088032320 prec=OUT<BR>set isdn call=siol outsub=LOCAL<BR>set isdn call=siol
clilist=0<BR>add isdn call=tisina num=723 searchsub=local outsub=local
inany=yes<BR>enable ip<BR>enable ip remote<BR>enable ip nat<BR>enable
gre<BR>create ppp=0 over=isdn-siol restart=1 lqr=off<BR>set ppp=0
iprequest=on<BR>set ppp=0 username="XXXXXXX" password="XXXXXX"<BR>create ppp=1
over=isdn-tisina<BR>add ip int=eth0 ip=192.168.1.1 mask=255.255.255.0<BR>add ip
int=ppp0 ip=0.0.0.0 mask=0.0.0.0<BR>set ip nameserver=193.189.160.11<BR>add ip
int=ppp1 ip=192.168.100.1<BR>add ip route=0.0.0.0 mask=0.0.0.0 int=ppp0
next=0.0.0.0<BR>add ip route=192.168.2.0 mask=255.255.255.0 int=ppp1
next=192.168.100.2<BR>add ip nat ip=192.168.1.0 mask=255.255.255.0
gblinterface=ppp0<BR>add gre=1 source=192.168.1.0 smask=255.255.255.0
dest=192.168.2.0 dmask=255.255.255.0 target=192.168.100.2<BR>set ip int=eth0
gre=1<BR>ENABLE DHCP<BR>CREATE DHCP POLICY=BASE LEASE=7200<BR>ADD DHCP
POLICY=BASE SUBNET=255.255.255.0<BR>ADD DHCP POLICY=BASE
ROUTER=192.168.1.1<BR>ADD DHCP POLICY=BASE
DNSSERVER=193.189.160.11,193.189.160.12<BR>CREATE DHCP RANGE=OFFICE POLICY=BASE
IP=192.168.1.10 NUMBER=32</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>------------:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Na drugem routerju pa je:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----------:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>set sys name=NEKAJ<BR>set user=manager
pass=XXXXX<BR>set q931=0 profile=ETB num1=728<BR>add isdn call=siol
num=0088032320 prec=OUT<BR>set isdn call=siol outsub=LOCAL<BR>set isdn call=siol
clilist=0<BR>add isdn call=tisina num=723 searchsub=local outsub=local
inany=yes<BR>enable ip<BR>enable ip remote<BR>enable ip nat<BR>enable
gre<BR>create ppp=0 over=isdn-siol restart=1 lqr=off<BR>set ppp=0
iprequest=on<BR>set ppp=0 username="XXXXXXX" password="XXXXXX"<BR>create ppp=1
over=isdn-tisina<BR>add ip int=eth0 ip=192.168.2.1 mask=255.255.255.0<BR>add ip
int=ppp0 ip=0.0.0.0 mask=0.0.0.0<BR>set ip nameserver=193.189.160.11<BR>add ip
int=ppp1 ip=192.168.100.1<BR>add ip route=0.0.0.0 mask=0.0.0.0 int=ppp0
next=0.0.0.0<BR>add ip route=192.168.1.0 mask=255.255.255.0 int=ppp1
next=192.168.100.1<BR>add ip nat ip=192.168.2.0 mask=255.255.255.0
gblinterface=ppp0<BR>add gre=1 source=192.168.1.0 smask=255.255.255.0
dest=192.168.2.0 dmask=255.255.255.0 target=192.168.100.1<BR>set ip int=eth0
gre=1<BR>ENABLE DHCP<BR>CREATE DHCP POLICY=BASE LEASE=7200<BR>ADD DHCP
POLICY=BASE SUBNET=255.255.255.0<BR>ADD DHCP POLICY=BASE
ROUTER=192.168.2.1<BR>ADD DHCP POLICY=BASE
DNSSERVER=193.189.160.11,193.189.160.12<BR>CREATE DHCP RANGE=OFFICE POLICY=BASE
IP=192.168.2.10 NUMBER=32</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----------:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>LP,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Davor</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>