思科ASA5505配置有些交换机下的机子无法正常上网
答案:3 悬赏:80 手机版
解决时间 2022-01-01 01:07
- 提问者网友:山高云阔
- 2021-12-31 17:56
今天配置了思科ASA5505路由器,连网后发现有几个交换机下的机子可以获得地址,但是无法上网,具体配置如下:ASA Version 7.2(4)!hostname asa5505domain-name Cisco.comenable password 2Z/868DRYZyqNC3P encryptedpasswd bg92ykgYSAnelCvl encryptednames!interface Vlan1 nameif inside security-level 100 ip address 192.168.1.1 255.255.255.0!interface Vlan2 nameif outside security-level 0 ip address 125.75.234.218 255.255.255.0!interface Vlan3 no nameif no security-level ip address 10.10.10.36 255.255.255.224!interface Ethernet0/0 switchport access vlan 2!interface Ethernet0/1!interface Ethernet0/2!interface Ethernet0/3 switchport access vlan 3!interface Ethernet0/4!interface Ethernet0/5!interface Ethernet0/6!interface Ethernet0/7!ftp mode passivedns server-group DefaultDNS domain-name Cisco.comaccess-list ac1_out extended permit tcp any any eq wwwaccess-list ac1_out extended permit tcp any any eq httpsaccess-list ac1_out extended permit icmp any anyaccess-list ac1_out extended permit ip any anyaccess-list ac1_dmz extended permit icmp any anypager lines 24logging enablelogging asdm informationalmtu inside 1500mtu outside 1500icmp unreachable rate-limit 1 burst-size 1asdm image disk0:/asdm-524.binno asdm history enablearp timeout 14400global (outside) 1 interfacenat (inside) 1 0.0.0.0 0.0.0.0access-group ac1_out in interface outsideroute outside 0.0.0.0 0.0.0.0 125.75.234.1 1timeout xlate 3:00:00timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolutehttp server enablehttp 192.168.1.0 255.255.255.0 insidehttp 0.0.0.0 0.0.0.0 outsidehttp 0.0.0.0 0.0.0.0 insideno snmp-server locationno snmp-server contactsnmp-server enable traps snmp authentication linkup linkdown coldstarttelnet 192.168.1.0 255.255.255.0 insidetelnet timeout 5ssh timeout 5console timeout 0dhcpd address 192.168.1.150-192.168.1.181 insidedhcpd dns 202.100.64.68 61.178.0.93 interface insidedhcpd wins 192.168.1.1 192.168.1.1 interface insidedhcpd ping_timeout 32 interface insidedhcpd domain cisco.com interface insidedhcpd enable inside!username admin password BgDZrtEbp2HCrAjh encrypted!class-map inspection_default match default-inspection-traffic!!policy-map type inspect dns preset_dns_map parameters message-length maximum 512policy-map global_policy class inspection_default inspect dns preset_dns_map inspect ftp inspect h323 h225 inspect h323 ras inspect rsh inspect rtsp inspect esmtp inspect sqlnet inspect skinny inspect sunrpc inspect xdmcp inspect sip inspect netbios inspect tftp!service-policy global_policy globalprompt hostname contextCryptochecksum:ab743de2095341f0d39f5edfbe4fd2ef: end请高手帮助,在线等,谢谢
最佳答案
- 五星知识达人网友:夜余生
- 2021-12-31 18:29
没配置dns功能所以上不了网
ASA(config)# dns domain-lookup outside
ASA(config)# dns name-server 202.106.0.20
ASA(config)# sh run dns
dns domain-lookup outside //outside开启dns
DNS server-group DefaultDNS
name-server 202.100.64.68 61.178.0.93 //指定当地的dns server ip
ASA(config)# dns domain-lookup outside
ASA(config)# dns name-server 202.106.0.20
ASA(config)# sh run dns
dns domain-lookup outside //outside开启dns
DNS server-group DefaultDNS
name-server 202.100.64.68 61.178.0.93 //指定当地的dns server ip
全部回答
- 1楼网友:平生事
- 2021-12-31 19:51
不能排版一下吗 眼花
- 2楼网友:廢物販賣機
- 2021-12-31 19:34
路由器连接交换机设置局域网方法:
【家庭网络环境布线】:
1、有猫(modem):猫(modem)----路由器wan口;路由器lan口----交换机---电脑。
【电脑进入路由器】:
1、电脑ip、dns设置自动获取。
2、打开浏览器,在地址栏输入192.168.1.1(一般路由器地址是这个或者查看路由器背面的登录信息)进路由-输入用户名,密码 ,(默认一般是admin)。
【设置路由器拨号】:
1、在【设置向导】里,选择【pppoe拨号】(有些是adsl拨号)这一项,按提示步骤输入上网的用户名和密码,保存。
2、在【网络参数】--【wan设置】里,选【正常模式】,在【连接】的三个选项,选择【pppoe拨号】这一项。下面就是选择【自动连接】,保存,退出。
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯