Недавно приобрел двойную линию T-1 у нового провайдера. Они выделили мне полный адрес класса C. Теперь T-1 линии входят в Paradyne box, который их муксирует и прозрачно подключается к моему Ethernet интерфейсу. Однако, что бы я ни делал (или какой бы роутер я ни использовал), я не могу заставить мой адрес класса C работать. Мои машины отваливаются на шлюзе (который является Mikrotik), никаких правил не создано, и цепочка пересылки настроена на прием. Я также пробовал машину с WinXP с включенным IP-пересылкой, чтобы просто посмотреть, смогут ли мои IP-адреса заработать.
Потом я жалуюсь компании, и они присылают кого-то с Cisco 800 роутером. И почему-то этот бокс работает отлично. Из этого бокса мы настраиваем подсеть .248 и указываем следующую подсеть на мой Mikrotik роутер. Все работает как часы.
Так почему же так? Может быть, Cisco делает что-то, что не делает Mikrotik, чтобы объявлять подсеть (они утверждают, что она статически назначена моему WAN IP)? Они говорят, что это не их проблема, потому что Cisco работает, но я пробовал 2 Mikrotik, 1 Smoothwall (просто чтобы попробовать что-нибудь другое) и Linux workstation с ip_forward включенным, и машину с WinXP с включенной ip forward через regedit.
Если у кого-нибудь есть какие-либо предложения, буду очень признателен.
Вот конфигурация Cisco 800:
Current configuration : 1001 bytes
! version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
no aaa new-model
ip subnet-zero
!
! ip audit notify log
ip audit po max-events 100
no ftp-server
write-enable
!
! –More--
!
! !
interface Ethernet0
ip address 216.147.165.1 255.255.255.0
! interface Ethernet1
ip address 216.147.160.57 255.255.255.252
duplex auto
! interface FastEthernet1
no ip address
duplex auto
speed auto
! interface FastEthernet2
no ip address
duplex auto
speed auto
! interface FastEthernet3
no ip address
duplex auto
speed auto
! interface FastEthernet4
no ip address
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 216.147.160.58
ip http server
no ip http secure-server
!
! line con 0
no modem enable
line aux 0
line vty 0 4
login local
!
scheduler max-task-time 5000
–More--
! end
Router#
Mikrotik Config:
/ interface ethernet
set Kingston name=“Kingston”
mtu=1500
arp=enabled
disable-running-check=yes
auto-negotiation=yes
full-duplex=yes
cable-settings=default
speed=100Mbps
disabled=no
set Realtek name=“Realtek”
mtu=1500
arp=enabled
disable-running-check=yes
auto-negotiation=yes
full-duplex=yes
cable-settings=default
speed=100Mbps
disabled=no
/ interface bridge
port set Kingston bridge=none
priority=128
path-cost=10
set Realtek bridge=none
priority=128
path-cost=10
/ interface l2tp-server
server set enabled=no
mtu=1460
mru=1460
authentication=mschap2,mschap1,chap,pap
default-profile=default
/ interface pptp-server
server set enabled=no
mtu=1460
mru=1460
authentication=mschap2,mschap1
keepalive-timeout=30
default-profile=default
/ ip accounting
set enabled=no
threshold=256
/ ip accounting web-access
set accessible-via-web=no
address=0.0.0.0/0
/ ip address
add address=216.147.160.57/30
network=216.147.160.56
broadcast=216.147.160.59
interface=Kingston
comment=“”
disabled=no
add address=216.147.165.1/24
network=216.147.165.0
broadcast=216.147.165.255
interface=Realtek
comment=“”
disabled=no
/ ip arp
/ ip dns
set primary-dns=0.0.0.0
secondary-dns=0.0.0.0
allow-remote-requests=no
cache-size=“2048 kB”
cache-max-ttl=7d
/ ip firewall
set input name=“input”
policy=accept
comment=“”
set forward name=“forward”
policy=accept
comment=“”
set output name=“output”
policy=accept
comment=“”
/ ip firewall rule
forward add action=accept
log=yes
comment=“”
disabled=no
:there is more to this but I didn’t think it was pertinent.
Thanks All
Потом я жалуюсь компании, и они присылают кого-то с Cisco 800 роутером. И почему-то этот бокс работает отлично. Из этого бокса мы настраиваем подсеть .248 и указываем следующую подсеть на мой Mikrotik роутер. Все работает как часы.
Так почему же так? Может быть, Cisco делает что-то, что не делает Mikrotik, чтобы объявлять подсеть (они утверждают, что она статически назначена моему WAN IP)? Они говорят, что это не их проблема, потому что Cisco работает, но я пробовал 2 Mikrotik, 1 Smoothwall (просто чтобы попробовать что-нибудь другое) и Linux workstation с ip_forward включенным, и машину с WinXP с включенной ip forward через regedit.
Если у кого-нибудь есть какие-либо предложения, буду очень признателен.
Вот конфигурация Cisco 800:
Current configuration : 1001 bytes
! version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
no aaa new-model
ip subnet-zero
!
! ip audit notify log
ip audit po max-events 100
no ftp-server
write-enable
!
! –More--
!
! !
interface Ethernet0
ip address 216.147.165.1 255.255.255.0
! interface Ethernet1
ip address 216.147.160.57 255.255.255.252
duplex auto
! interface FastEthernet1
no ip address
duplex auto
speed auto
! interface FastEthernet2
no ip address
duplex auto
speed auto
! interface FastEthernet3
no ip address
duplex auto
speed auto
! interface FastEthernet4
no ip address
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 216.147.160.58
ip http server
no ip http secure-server
!
! line con 0
no modem enable
line aux 0
line vty 0 4
login local
!
scheduler max-task-time 5000
–More--
! end
Router#
Mikrotik Config:
/ interface ethernet
set Kingston name=“Kingston”
mtu=1500
arp=enabled
disable-running-check=yes
auto-negotiation=yes
full-duplex=yes
cable-settings=default
speed=100Mbps
disabled=no
set Realtek name=“Realtek”
mtu=1500
arp=enabled
disable-running-check=yes
auto-negotiation=yes
full-duplex=yes
cable-settings=default
speed=100Mbps
disabled=no
/ interface bridge
port set Kingston bridge=none
priority=128
path-cost=10
set Realtek bridge=none
priority=128
path-cost=10
/ interface l2tp-server
server set enabled=no
mtu=1460
mru=1460
authentication=mschap2,mschap1,chap,pap
default-profile=default
/ interface pptp-server
server set enabled=no
mtu=1460
mru=1460
authentication=mschap2,mschap1
keepalive-timeout=30
default-profile=default
/ ip accounting
set enabled=no
threshold=256
/ ip accounting web-access
set accessible-via-web=no
address=0.0.0.0/0
/ ip address
add address=216.147.160.57/30
network=216.147.160.56
broadcast=216.147.160.59
interface=Kingston
comment=“”
disabled=no
add address=216.147.165.1/24
network=216.147.165.0
broadcast=216.147.165.255
interface=Realtek
comment=“”
disabled=no
/ ip arp
/ ip dns
set primary-dns=0.0.0.0
secondary-dns=0.0.0.0
allow-remote-requests=no
cache-size=“2048 kB”
cache-max-ttl=7d
/ ip firewall
set input name=“input”
policy=accept
comment=“”
set forward name=“forward”
policy=accept
comment=“”
set output name=“output”
policy=accept
comment=“”
/ ip firewall rule
forward add action=accept
log=yes
comment=“”
disabled=no
:there is more to this but I didn’t think it was pertinent.
Thanks All
