Re: Static IP Problems
looks like you may have a couple things mixed up. heres an example /etc/network/interfaces:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.10 <---- this is the ip of this computer
netmask 255.255.255.0
network 192.168.1.0 <---not sure what this does but it should not be your external IP
braodcast 192.168.1.255
gateway 192.168.1.1 <---- this is the IP of the router
also the nameserver in /etc/resolv.conf should either be the router IP (it uses the DNS settings of the router) or a specific DNS server (like OpenDNS servers)
your router via NAT hands off connectivity from the external IP to other devices on the network, so nothing on your LAN needs to be configured with that IP.
192.168.1.x and 10.x.x.x are IP ranges reserved for private networks. you can use either system. most consumer routers are configured for the 192 set.
port forwarding you set in the router. there should be a port forwarding setting in the configuration. i forward HTTP requests (port 80) to my server, so in the router setup i tell TCP port 80 to forward to 192.168.1.10
makes sense?
toaster: PIII 1.0GHz Ubuntu Intrepid 2.6.27-7-server (headless)
merom: Apple MacBook Pro -2.33GHz C2Duo - OSX 10.5.6
mythb0x: P-D 2.66Ghz MythDora 3.2: 2.6.18 - PVR-150 - VIA Unichrome Pro - MSI Hetis 800 case
Bookmarks