• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

有人知道桥接和NAT的区别吗。能解释一下网关的概念吗


NodeSans

Recommended Posts

NAT--私有IP在企业网内还可以混混,但不能到internet上去浪。所以必须在企业网与internet的边界网关,做私有IP与公网IP的转换,由于公网IP可能只有一个或几个,需要使用NAT网关的端口号来识别一个个用户的session

Link to comment
Share on other sites

  • 3 weeks later...

桥接相当于在虚拟网卡和物理网卡之间建立一个虚拟网,有独立的ip等信息,可以直接访问互联网。

而nat相当于在虚拟网卡和物理网卡之间建立了交换机,访问外网需要进行转换,同时互联网不能够搜索到这个虚拟机。

Link to comment
Share on other sites

嗯嗯

15分钟前 , NodeSans 说:

@Richardimage.png.b25846b9cea3f1fb9408ee2bcba3e535.png

话说是不是就像这个图上面这样,在桥接模式下虚拟机跟主机是平级的存在,虚拟机以主机的方式上网,然后再NAT模式下虚拟机要低主机一等,虚拟机要先连通主机才能连接到互联网。

嗯嗯

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now