The basic configuration of CMTS :
1) Check if every card is up and recognized from CMTS.
#show inventory
2) Place the ip on GigabitEthernet):
interface GigabitEthernet1/0/0
ip address 172.22.0.22 255.255.255.0
negotiation auto
no shutdown <<<(Make sure that the interface is UP)
!
3) Set ip Default Gateway
ip route 0.0.0.0 0.0.0.0 172.22.0.1
!
4) Check the connection with router
5) For Telnet access we need to create a username and password:
Also we must configure VTY for allowing us from Telnet:
6) Configure bundle interface :
Configuration of Router (in our cases Mikrotik):
1)Set ip address in WAN interface and connect to the Internet:
2) Create a route to the internet:
3) We can NAT everything >>IP >>Firewall>> NAT:
4)Now, create a Bridge Interface >>BRIDGE
5)Now, place the ip that you want to use as gateway of last resort for CMTS and Server on the Bridge interface
>>>IP >> Adresses >> "+":
6) Put the Ports that you have connected CMTS and Server in the Bridge interface >>BRIDGE >>Ports >>:
7) We need to route CM-IP and CPE-IP to the CMTS IP Address >>IP >>Routes >> "+" :
8) Check if we have ping with CMTS and SERVER
Configuration of SERVER(LINUX):
1)Set an IP address on Server >> Setup >> network configuration>> Device configuration >> eth0 >>
2)TEST you connection :
3)Configure the DHCP header >> nano /etc/dhcpd.conf :
#
# DHCP Server Configuration file for route mode CMTS
#
authoritative;
option domain-name "localdomain";
option domain-name-servers 8.8.8.8,8.8.4.4;
option time-servers 172.22.0.13;
ddns-update-style none;
min-lease-time 3600;
default-lease-time 3600;
max-lease-time 3600;
log-facility local7;
option time-offset 3600;
option log-servers 172.22.0.13;
next-server 172.22.0.13;
option space PacketCable;
option PacketCable.pri-dhcp code 1 = ip-address;
option PacketCable.sec-dhcp code 2 = ip-address;
option PacketCable.kerberos-realm-name code 6 = text;
option packet-cable code 122 = encapsulate PacketCable;
option PacketCable.pri-dhcp 0.0.0.0;
# interface eth0
subnet 172.22.0.0 netmask 255.255.255.0 {
}
# cm on cmts 2 (arris)
subnet 10.5.0.0 netmask 255.255.0.0 {
option time-offset 3600;
option subnet-mask 255.255.0.0;
option broadcast-address 10.3.255.255;
option time-servers 172.22.0.13;
option log-servers 172.22.0.13;
next-server 172.22.0.13;
option routers 10.5.0.1;
filename "disabled.cfg";
}
# cpe
shared-network "CPEIP"
{
subnet 10.20.0.0 netmask 255.255.0.0
{
ping-check true;
option routers 10.20.0.1;
option broadcast-address 10.20.255.255;
option subnet-mask 255.255.0.0;
range dynamic-bootp 10.20.0.0 10.20.100.255;
}
}
2) ADD routes on >> nano/etc/rc.local
3)Make sure that these routes are on >> route -n :