www.okc2600.com Forum Index www.okc2600.com
Oklahoma City's 2600
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

n00b questions

 
Post new topic   Reply to topic    www.okc2600.com Forum Index -> Q&A
View previous topic :: View next topic  
Author Message
TheDanMan
Hacker
Hacker


Joined: 09 Sep 2004
Posts: 364
Location: Guthrie Oklahoma

PostPosted: Wed Apr 06, 2005 5:10 pm    Post subject: n00b questions Reply with quote

I am trying to set up a linux box on a t1 here at work. From the majick birch box there is a switch. From the switch there are My FD2 Box and Firewall Router to protect condomless lusers. Oh thing of note, I can get to the box from our network with any of the IPs I've set it to, but it cannot see the web, nor conversly.

Now, here is all the (I believe) info that you could need to help my lame arse out with.


Code:

# cat ../etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
ONBOOT=yes
IPADDR=127.0.0.1
NETMASK=255.255.255.248




# cat ../etc/sysconfig/network-scripts/ifcfg-eth0:1

DEVICE=eth0:1
IPADDR=69.53.127.222
NETMASK=255.255.255.248




# cat ../etc/sysconfig/network-scripts/ifcfg-eth0:2

DEVICE=eth0:2
IPADDR=69.53.127.221
NETMASK=255.255.255.248




# cat ../etc/sysconfig/network-scripts/ifcfg-eth0:3

DEVICE=eth0:3
IPADDR=69.53.127.220
NETMASK=255.255.255.248





# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       *               255.255.255.248 U     0      0        0 eth0
69.53.127.216   *               255.255.255.248 U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0




# cat ../etc/resolv.conf
nameserver 69.53.127.254
nameserver 69.53.127.253
search websitesok.com




Now, help me see the world! Please Wink

I've ruled out the firewall router because I unplugged it and stopped and started eth0 and still no go.
_________________
My signature is cooler.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Colleen
Fashionista


Joined: 02 Oct 2004
Posts: 55

PostPosted: Wed Apr 06, 2005 6:03 pm    Post subject: Reply with quote

I don't see that you have a default gateway/route anywhere...


Edited to add:
You also shouldn't assign 127.0.0.1 to eth0. That is going to cause you issues. 127.0.0.0/8 should only be assigned to your loopback adapter. Some services will let you specify which ip's/adapters they listen on/source from and some won't. Therefore you should assign your "main" IP (which is an arbitrary choice by you, of course) to the eth0 adapter.
Back to top
View user's profile Send private message
piccasso
Wanabe
Wanabe


Joined: 26 Dec 2004
Posts: 59

PostPosted: Wed Apr 06, 2005 6:11 pm    Post subject: Reply with quote

birch....grrrrr....
Back to top
View user's profile Send private message
TheDanMan
Hacker
Hacker


Joined: 09 Sep 2004
Posts: 364
Location: Guthrie Oklahoma

PostPosted: Wed Apr 06, 2005 6:17 pm    Post subject: Reply with quote

Alright, I've set up ifcfg-lo and adjust the rest to reflect correctly. Now to add the gateway, I'm googling now.
_________________
My signature is cooler.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TheDanMan
Hacker
Hacker


Joined: 09 Sep 2004
Posts: 364
Location: Guthrie Oklahoma

PostPosted: Wed Apr 06, 2005 6:35 pm    Post subject: Reply with quote

I love you evilpig!
_________________
My signature is cooler.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TheDanMan
Hacker
Hacker


Joined: 09 Sep 2004
Posts: 364
Location: Guthrie Oklahoma

PostPosted: Wed Apr 06, 2005 6:41 pm    Post subject: Reply with quote

Alright, now how the hell do I make my modifications to route permanant?
_________________
My signature is cooler.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Colleen
Fashionista


Joined: 02 Oct 2004
Posts: 55

PostPosted: Wed Apr 06, 2005 6:46 pm    Post subject: Reply with quote

Probably put it in /etc/sysconfig/network (disclaimer: I am not a Mandrake user, so that's just my best guess).
Back to top
View user's profile Send private message
TheDanMan
Hacker
Hacker


Joined: 09 Sep 2004
Posts: 364
Location: Guthrie Oklahoma

PostPosted: Wed Apr 06, 2005 6:49 pm    Post subject: Reply with quote

I had already figured it out Smile Thanks though. You are correct btw, mandrake, as well as RH/Fedora. As this is a Fedora Core 2 box becuase Plesk doesn't yet support mandrake Wink
_________________
My signature is cooler.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TheDanMan
Hacker
Hacker


Joined: 09 Sep 2004
Posts: 364
Location: Guthrie Oklahoma

PostPosted: Wed Apr 06, 2005 6:55 pm    Post subject: Reply with quote

/me burns all information learned today into unused synaptic relays.
_________________
My signature is cooler.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ferralis
King Coder


Joined: 05 Nov 2004
Posts: 170
Location: Limbo

PostPosted: Wed Apr 13, 2005 4:41 pm    Post subject: Reply with quote

Um.. that might be a bad idea, at least not if you use a lot of hair spray.


*shakes head while TDM sets himself on fire for the third time in his life*

Smile
_________________
Burn the box.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.okc2600.com Forum Index -> Q&A All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
RSS