LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-14-2003, 08:30 PM   #1
emetib
Member
 
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
home networking problem


would anyone know what eth1:9 would be?

eth0 Link encap:Ethernet HWaddr 00:04:5A:60:64:99
inet addr:192.168.0.99 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2554 (2.4 Kb) TX bytes:2580 (2.5 Kb)
Interrupt:10 Base address:0xd800

eth1 Link encap:Ethernet HWaddr 00:90:47:01:8C:BD
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:3438 (3.3 Kb)
Interrupt:11 Base address:0x5000

eth1:9 Link encap:Ethernet HWaddr 00:90:47:01:8C:BD
inet addr:169.254.138.155 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0x5000

that is what i have on my server. i put both of the hwaddr in italics to show that they are the same nic.

eth0 Link encap:Ethernet HWaddr 00:50:04:14:C8:C0
inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3982 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:255205 (249.2 Kb) TX bytes:6590 (6.4 Kb)
Interrupt:10 Base address:0xfc00

eth1 Link encap:Ethernet HWaddr 52:54:40:22:B9:E8
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2832 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:181822 (177.5 Kb) TX bytes:2674 (2.6 Kb)
Interrupt:5 Base address:0x220

eth2 Link encap:Ethernet HWaddr 52:54:40:22:AC:96
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:12 Base address:0x240

that is what i have on my firewall

- i'm trying to set up a dmz, with 3 nics. on the firewall, eth0 is connected to my switch, eth1 is connected to the server as a primary nic, and eth2 is my test for another subnet.
- on the server, eth0 is the primary nic to the firewall, eth1 is supposed to be the test nic. on the boot when eth1 was trying to connect to the firewall, it had this eth1:9 come up.

# Setting DHCPD global parameters
DHCPARGS=eth1;
ddns-update-style ad-hoc;
allow unknown-clients; # Set parameters for the 192.168.0.0/24 subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.100;
default-lease-time 604800;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option domain-name-servers 207.107.250.140, 207.107.250.150;
option domain-name "Hades";
option routers 192.168.0.254;
option broadcast-address 192.168.0.255;
}
#
#
DHCPARGS=eth2;
ddns-update-style ad-hoc;
allow unknown-clients; # Set parameters for the 192.168.1.0/24 subnet.
subnet 192.167.1.0 netmask 255.255.255.0 {
range 192.167.1.10 192.167.1.100;
default-lease-time 604800;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option domain-name-servers 207.107.250.140, 207.107.250.150;
option domain-name "Hades";
option routers 192.167.1.254;
option broadcast-address 192.167.1.255;
}

that is the dhcpd.conf from the firewall. as you can see the ip of eth2 is totally different then what i have in there.

i know that this is quite long winded, more with files then talk. what i need to know is what this is, how to get rid of it, and how to fix it so that it doesn't come back. since i can't even ping the eth1:9 address.
i don't know if this message makes sense to anyone except me, so if you need please tell me to rephrase it for you.

thanks.

edit: am i just going about this all wrong, or should i just go out and get the "networking for morons" book?

Last edited by emetib; 07-14-2003 at 08:42 PM.
 
Old 07-14-2003, 10:07 PM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
emetib,

'ifconfig eth1:9 down'

It is an alias device. Let's you have more than one IP address with one ethernet card. You seem to have enough ethernet cards though

I would guess the machine is running a dhcp client and getting that address from your ISP. Was it ever connected direct to your internet connection?

Hope that helps,
chris
 
Old 07-14-2003, 11:27 PM   #3
emetib
Member
 
Registered: Feb 2003
Posts: 484

Original Poster
Rep: Reputation: 33
i guess with a true dmz you want to have 3 of them, so that's what i have.
yes, i have the firewall trying to be a dhcp server, giving the numbers to the eth cards. i figure if i ever do this stuff for a job that it would be nice to know how to configure one. no, the card has never been linked to the internet or my isp. they are having to go through a switch and then my router, which is giving the dhcp. not really worried about the router, it's a cisco so it's not just a cheapy of the shelf.
as for the ifconfig eth1:9 down, yes i can do that, but i can't even ping the primary eth1, so that doesn't help that much.

thanks for the input, i'll look at getting that book. hopefully it'll tell me how to get more aliases out of each card, that would be cool .

take care.

Last edited by emetib; 07-14-2003 at 11:34 PM.
 
Old 07-16-2003, 07:55 PM   #4
ralisch
LQ Newbie
 
Registered: Jul 2003
Location: puerto rico
Posts: 2

Rep: Reputation: 0
Unhappy Routers

hello i need help could someone explain to me what is a router and its fuction and why it is used?
 
Old 07-16-2003, 09:26 PM   #5
emetib
Member
 
Registered: Feb 2003
Posts: 484

Original Poster
Rep: Reputation: 33
http://www.howstuffworks.com/router.htm
 
Old 07-17-2003, 12:32 AM   #6
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
emetib,

Also notice that eth1 didn't have an IP address and eth1:9. One way to learn more, and figure out the problem, would be to read all the scripts that start and configure the network. /etc/init.d/network (or something like it) would be a good place to start. Then read the man page for all the commands it runs. Google for it. Not quite as organized as a book, but then you get to see what your machine is actually running.

Have fun,
chris
 
Old 07-17-2003, 06:48 PM   #7
emetib
Member
 
Registered: Feb 2003
Posts: 484

Original Poster
Rep: Reputation: 33
i've been looking through the network scripts but i haven't found anything yet. there is more to look at so hopefully i'll find something.

the dhcpd server that i'm trying to play with as slack based, don't know if that's a difference, but i dont' have an /etc/rc.d/init.d/network. checked my mandrake and it's there, yet it doesn't say much about what it's doing at start. well, it is, but i dont' see anything about how it's configing the card if it finds a dhcpd server. i just did a quick scan of it so don't yell yet.

maybe i'll have to set up another nic on my workstation to see if it will get an address in the range that i specified. i know, i have to many of the damm things allready. dont' have any of my on boards going so that's what i'll end up using.

thanks and cheers.
chad.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
home networking problem lvgandhi Debian 1 10-12-2005 07:35 PM
home networking problem tanveer Linux - Networking 18 02-22-2005 05:33 AM
WindowsXP Home and RH9 networking problem nasar2k2000 Linux - Networking 5 02-11-2004 10:46 AM
Home Networking jwithers1 Linux - Networking 1 08-06-2002 10:52 AM
Home networking knightmare2279 Linux - Networking 8 11-24-2001 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration