| View previous topic :: View next topic |
| Author |
Message |
TheDanMan Hacker


Joined: 09 Sep 2004 Posts: 364 Location: Guthrie Oklahoma
|
Posted: Wed Apr 06, 2005 5:10 pm Post subject: n00b questions |
|
|
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
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 |
|
 |
Colleen Fashionista

Joined: 02 Oct 2004 Posts: 55
|
Posted: Wed Apr 06, 2005 6:03 pm Post subject: |
|
|
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 |
|
 |
piccasso Wanabe

Joined: 26 Dec 2004 Posts: 59
|
Posted: Wed Apr 06, 2005 6:11 pm Post subject: |
|
|
| birch....grrrrr.... |
|
| Back to top |
|
 |
TheDanMan Hacker


Joined: 09 Sep 2004 Posts: 364 Location: Guthrie Oklahoma
|
Posted: Wed Apr 06, 2005 6:17 pm Post subject: |
|
|
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 |
|
 |
TheDanMan Hacker


Joined: 09 Sep 2004 Posts: 364 Location: Guthrie Oklahoma
|
Posted: Wed Apr 06, 2005 6:35 pm Post subject: |
|
|
I love you evilpig! _________________ My signature is cooler. |
|
| Back to top |
|
 |
TheDanMan Hacker


Joined: 09 Sep 2004 Posts: 364 Location: Guthrie Oklahoma
|
Posted: Wed Apr 06, 2005 6:41 pm Post subject: |
|
|
Alright, now how the hell do I make my modifications to route permanant? _________________ My signature is cooler. |
|
| Back to top |
|
 |
Colleen Fashionista

Joined: 02 Oct 2004 Posts: 55
|
Posted: Wed Apr 06, 2005 6:46 pm Post subject: |
|
|
| Probably put it in /etc/sysconfig/network (disclaimer: I am not a Mandrake user, so that's just my best guess). |
|
| Back to top |
|
 |
TheDanMan Hacker


Joined: 09 Sep 2004 Posts: 364 Location: Guthrie Oklahoma
|
Posted: Wed Apr 06, 2005 6:49 pm Post subject: |
|
|
I had already figured it out 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  _________________ My signature is cooler. |
|
| Back to top |
|
 |
TheDanMan Hacker


Joined: 09 Sep 2004 Posts: 364 Location: Guthrie Oklahoma
|
Posted: Wed Apr 06, 2005 6:55 pm Post subject: |
|
|
/me burns all information learned today into unused synaptic relays. _________________ My signature is cooler. |
|
| Back to top |
|
 |
ferralis King Coder

Joined: 05 Nov 2004 Posts: 170 Location: Limbo
|
Posted: Wed Apr 13, 2005 4:41 pm Post subject: |
|
|
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*
 _________________ Burn the box. |
|
| Back to top |
|
 |
|