Virtual Networking Interface Problem
I've been working on a project with some Linksys routers. New routers
are set to use the IP address 192.168.1.1 and my network uses the
172.16.*.* address space. I've had this in my
workstation's /etc/network/interfaces file:
auto eth0
iface eth0 inet static
address 172.16.7.11
netmask 255.255.255.0
gateway 172.16.7.1
To access the Linksys routers when I first get them, I added this:
auto eth0:0
iface eth0:0 inet static
address 192.168.1.128
netmask 255.255.255.0
gateway 172.16.7.1
Then I restarted my network and I have eth0:0 with the address
192.168.1.128. Using route gives this (edited for space):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
172.16.7.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default fw.loc.lan 0.0.0.0 UG 0 0 0 eth0
default fw.loc.lan 0.0.0.0 UG 0 0 0 eth0
(fw.loc.lan is the firewall between my LAN and the Internet.)
I don't see any reference to eht0:0 at all. I don't know if that
matters.
After restarting my network, I can't reach anything on the Internet.
Does it matter that route doesn't seem to see a difference between eth0
and eth0:0?
What do I need to do to be able to do this and not lose access to
domains on the other side of my gateway? Why does it change routing so
my computer doesn't work through the regular gateway I've set?
Thanks!
Hal
Reply to: