« shopamex and Duracell DPP-600HDDVD: Transporter 3 »

Last hiccup with 'box'

06/22/09

Permalink 01:01:15 pm, by The Dreamer Email , 190 words   English (US)
Categories: Software, Networking

Last hiccup with 'box'

While at work this morning, I tried to ssh into 'box'....mainly to make it see the changed ssh host keys. But, turned out it was a test to see that it was working correctly.

I couldn't get to the second ip on 'box'. All my linux servers have 2 IPs, so from the outside they can be hit by either gateway. Using ip route/ip rule, it makes the packets go back out to the correct default gateway for the IP.

Well, turns out the second IP doesn't show up after a boot. If I do '/etc/init.d/networking restart', it appears. But, reboot...and its gone.

After much fiddling, searching, trial and error....I eventually stumbled on it.

The configs were basically the same as my ubuntu 8.04LTS server. Three 'auto' lines for each of the 'iface's. I had tried combining the eth0 entries to 'auto eth0 eth0:0', but that didn't work.

:idea: On a whim, I finally tried having only a single 'auto' line -- 'auto lo eth0 eth0:0' in /etc/network/interfaces. That finally made it have both eth0 and eht0:0 after a reboot. :?:

Now I can ssh into 'box' via either of my gateways. :cool:

Trackback address for this post

Trackback URL (right click and copy shortcut/link location)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

My Tweets

March 2010
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
There is 27 years 10 months 7 days 14 hours 40 minutes and 24 seconds until the end of time.

Search

Google

Linkblog

XML Feeds

free open source blog

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
website uptime