We shut this down about a year ago, but now I am attempting to get it going again on one outside connection instead of two. Simply changing the IP address on one of the network cards to use the new address isn't working, so the notes that I made when I set this thing up in the first place must be incomplete since I'm obviously missing something here.
I have two "active" IP addresses that I want to use at the moment.
eth0 is 192.168.1.5 and is working fine. I can log into the server with ssh and run icecast and listen to streaming audio just fine.
eth1 is now supposed to be 126.96.36.199 so I configured the new address on that card with system-config-network.
The third card (eth2) I plan to ignore for the time being so I haven't changed that or done anything with it at all.
My /etc/iproute2/rt_tables looks like this. I haven't changed it from what it was when I originally set this thing up a few years ago.
# reserved values
Note the access1 and access2 entries at the bottom of the file.
I then ran the following three commands:
ip route add 188.8.131.52/24 dev eth1 table access1
ip route add default via 184.108.40.206 dev eth1 table access1
ip rule add from 220.127.116.11/32 lookup access1
These are the same commands that I used to set up the previous Internet connection on this server -- The only thing that I have changed was the IP addresses.
Here is the output from "ip route show":
[root at audio ~]# ip route show
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.5
18.104.22.168/24 dev eth1 proto kernel scope link src 22.214.171.124
169.254.0.0/16 dev eth1 scope link
default via 126.96.36.199 dev eth1
That seems to indicate that the default route is 188.8.131.52 which is the correct gateway number for that Internet connection.
However, a ping or traceroute command (ping google.com or whatever) gives me no output.
I've missed a step somewhere.
I hooked my laptop up to that Internet connection to insure that the modem and whatnot is working and it is, so there's obviously something wrong with my configuration.
Can any of you folks tell me what I've missed?
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com