Sometimes I use my Xubuntu notebook as a NAT gateway for my Windows 7 computer because its WLAN interface works in 5GHz band and Windows computer works only in 2.4GHz. So I connect my Win7 computer to my Xubuntu notebook using a crossover Ethernet cable and turn it ito a NAT gateway using a bash script.
Thoughts and ideas about programming, scripting, automation, electronics, gadgets, web and technology
Showing posts with label dnsmasq. Show all posts
Showing posts with label dnsmasq. Show all posts
Thursday, March 28, 2013
Ubuntu with the NetworkManager as a NAT gateway
Sometimes I use my Xubuntu notebook as a NAT gateway for my Windows 7 computer because its WLAN interface works in 5GHz band and Windows computer works only in 2.4GHz. So I connect my Win7 computer to my Xubuntu notebook using a crossover Ethernet cable and turn it ito a NAT gateway using a bash script.
Labels:
bash,
dnsmasq,
nat,
NetworkManager,
ubuntu
Tuesday, June 5, 2012
dnsmasq cache size tuning
dnsmasq is a lightweight DNS forwarder and DHCP server used primarily in embedded systems (like routers) where resources are limited. DNS queries are small in size but latency introduced can be significant depending on the proximity of a DNS server that can answer the query. DNS queries are usually cached either by a web browser of by the operating system but if several clients are connecting to the Internet through a router they would all need to send 'possibly' same DNS requests over again. That's why dnsmasq running on a router has a local cache for DNS queries.
Subscribe to:
Posts (Atom)
