求大佬解答,抱拳謝過
痛學計算機

圖是由2個路由器連接3個以太網組成的互聯網,其中子網1和子網2是用戶主機網,子網3是服務器網。現假設子網1中的主機H1的瀏覽器要訪問子網3中的Web服務器H2(域名為www.hzdx.edu.cn),請寫出實作一次訪問的詳細通信程序。
uj5u.com熱心網友回復:
急求謝謝
計算機小白實在看不懂該如何下手,明天就要交了
uj5u.com熱心網友回復:
求問前輩能告知解答程序嗎……uj5u.com熱心網友回復:
R1 如下#clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface Vlanif1
#
interface GigabitEthernet0/0/0
ip address 128.30.33.1 255.255.255.128
#
interface GigabitEthernet0/0/1
ip address 128.30.33.130 255.255.255.128
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 128.30.33.129
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
R2:如下
sysname R2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 128.30.33.129 255.255.255.128
#
interface GigabitEthernet0/0/1
ip address 128.30.36.2 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 128.30.33.130
ip route-static 128.30.33.128 255.255.255.128 128.30.33.130
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
dns服務器 添加 36.10-域名的決議
dns 服務器都寫128.30.36.12
uj5u.com熱心網友回復:
ip route-static 128.30.33.128 255.255.255.128 128.30.33.130 這條沒用
uj5u.com熱心網友回復:
謝謝!但是我們課程內容要求文字版……沒有教代碼
uj5u.com熱心網友回復:
求問前輩能告知解答程序嗎……
ip route-static 128.30.33.128 255.255.255.128 128.30.33.130 這條沒用
謝謝!但是我們課程內容要求文字版……沒有教代碼
R1 和R2的介面地址按照上面的配置完畢后,
R1上寫8個0到128.30.33.129完成子網1順利到達子網2的路由
R2上寫8個0到128.30.33.130完成子網3順利到達子網2的路由 這樣兩個子網就可以通信了。
然后在子網3的DNS服務器將www.hzdx.edu.cn和web服務器36.10的地址在dns服務器上做dns決議
H1中的dns服務器 寫128.30.36.12 然后在R1上就可以正常訪問了
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/15276.html
標籤:交換及路由技術
上一篇:跪拜,阿里P9加班到凌晨,硬肝三個月推出這份IT架構運維實踐
下一篇:LSA通告方式
