0

I'm trying to set up a static IP on an Ubuntu machine that is connected to the internet via a Comcast gateway (SMC). Following their instructions I added this to the /etc/network/interfaces (the static IP is, for example 160.10.10.69, and gateway is supposed to be 160.10.10.70):

auto eth0
iface eth0 inet static
address 160.10.10.69
netmask 255.255.255.252
gateway 160.10.10.70

However, after I restart networking I loose internet access. (and I can't investigate further as I'm remotely connected.)

Any ideas on what I'm missing?

Thanks

ddario
  • 501
  • 1
  • 3
  • 12

1 Answers1

3

The SMC piece-of-junk that Comcast gives business customers doesn't actually route your IP addresses into your network. Instead you have to set up 1:1 NAT and have the public IP address mapped to a private (RFC 1918) address on your LAN. Which, of course, means that all the computers on your LAN have to have RFC 1918 addresses.

Log in to the SMC piece-of-junk (defaults: http://10.1.10.1/ username cusadmin password highspeed) to complete the configuration. You will need to be on site to do this, since the web-based configuration is only accessible from the LAN side.

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940