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

Last hiccup with 'box'

06/22/09

  01:01:00 pm, by The Dreamer   , 190 words  
Categories: Software, Networking, Ubuntu

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:

No feedback yet

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.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 1 month 23 days 21 hours 22 minutes and 42 seconds until the end of time.
And, it has been 4 years 11 months 3 days 16 hours 40 minutes and 14 seconds since The Doctor saved us all from the end of the World!

Search

November 2017
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      
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 0
This seal is issued to lawrencechen.net by StopTheHacker Inc.
powered by b2evolution

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

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime