MoxaC168H dialup: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
 
No edit summary
 
Line 60: Line 60:


User control and accounting can be done using local user creation and accounting, or external radius, or additional user manager as a radius.
User control and accounting can be done using local user creation and accounting, or external radius, or additional user manager as a radius.
[[Category:Hardware]]

Latest revision as of 06:44, 14 May 2010

Internet in Company Campus / Township

To distribute the Internet connectivity within the campus or company township by utilizing internal EPABX connectivity network for telephone .here the internet distribution is through dial-up modem connectivity and using existing telephonic cable network

As its private Exchange network which gives unlimited free connectivity to users for internet .

The setup requires

  • PC based router with MikroTik OS ,
  • Moxa C168H card with Octopus Cable,
  • Dialup Modems ( 8 Nos )

File:Moxadialup2.jpg

To increase more nos of connection extra Moxa card and Dialup modem is required. maximum we can connect as per the availability of PCI slots

  • Actually you get 2 more serial ports as available with PC
[Twnship_Internet] port>

 add name=moxaA1 used-by=ppp baud-rate=115200 
[Twnship_Internet] port> print
  
0 name=moxaA1 used-by=PPP <ppp-in1> baud-rate=115200 data-bits=8 parity=none stop-bits=1 
flow-control=none

1 name=moxaA2 used-by=PPP <ppp-in2> baud-rate=115200 data-bits=8 parity=none stop-bits=1 
flow-control=none 

Note : the default baud-rate is 9600 , changing it to 115200 which gives faster surfing feal to the user.

[Twnship_Internet] interface ppp-server> 

/add name=ppp-in1 port=moxaA1 local-address=192.168.1.1 remote-address=192.168.1.2 
modem-init=at&f ring-count-1 encryption=none 
[Twnship_Internet] interface ppp-server> print

Flags: X - disabled
  0 port=moxaA1 pap=yes chap=yes ms-chapv2=no local-address=192.168.1.1 
    remote-address=192.168.1.2 mtu=1500 mru=1500 idle-timeout=0s 
    session-timeout=0s null-modem=no modem-init=at&f ring-count=1 port-id=0 
    encryption=none name=ppp-in1

  1 port=moxaA2 pap=yes chap=yes ms-chapv2=no local-address=192.168.1.1 
    remote-address=192.168.1.3 mtu=1500 mru=1500 idle-timeout=0s 
    session-timeout=0s null-modem=no modem-init=at&f ring-count=2 port-id=0 
    encryption=none name=ppp-in2 
  • Allow Internet access to dialup User.
[Twnship_Internet] ip firewall nat> 

add chain=src-nat action=masquered src-address=192.168.1.0/24 
  • User authentication

User control and accounting can be done using local user creation and accounting, or external radius, or additional user manager as a radius.