Jump to content
  • 0

NAT для сети через alias


inoyat

Question

Keenetic Giga II, 2.16.D.12.0-8

interface Bridge0
    rename Home
    description "Home network"
    inherit GigabitEthernet0/Vlan1
    include AccessPoint
    mac access-list type none
    security-level private
    ip address 192.168.0.1 255.255.255.0
    ip alias 192.168.12.254 255.255.255.0
    ip dhcp client dns-routes
    ip dhcp client name-servers
    igmp downstream
    up

ip nat Home

(config)> show ip route 
================================================================================
Destination          Gateway           Interface                         Metric 
================================================================================
0.0.0.0/0            0.0.0.0           PPPoE0                            0      
ххх.ххх.ххх.ххх/32      0.0.0.0           PPPoE0                            0      
192.168.0.0/24       0.0.0.0           Home                              0      
192.168.12.0/24      0.0.0.0           Home                              0  

 

NAT прекрасно работает для хостов из 192.168.0.0/24 - и не работает для хостов из 192.168.12.0/24

 

К сожалению, вынести подсеть 192.168.12.0/24 в отдельный сегмент и влан - не представляется возможным.

 

Есть какой-то вариант решения? Заранее спасибо.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

У меня возникла точно такая же проблема. Не смог найти ответ, переадресовал его в ТП Keenetic. Ответ получил в течение суток. Работает!

Цитата

Добрый день.

Нужно дать команду ip nat 192.168.12.0 255.255.255.0
И сохранить system configuration save
Спасибо

 

Link to comment
Share on other sites

  • 0
8 часов назад, StG Tm сказал:

У меня возникла точно такая же проблема. Не смог найти ответ, переадресовал его в ТП Keenetic. Ответ получил в течение суток. Работает!

 

Нужно поддержке этот момент добавить в статью про alias

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...