RE: eth0 and eth1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One red-flag that I quickly noticed is that the subnet defined for your eth0
include the subnet defined for your eth1.  Change the subnet mask for eth0
to be /24 (255.255.255.0) from its /16 (255.255.0.0) so that the two
networks are really separate.  

hth

-----Original Message-----
From: John Nichel [mailto:jnichel@xxxxxxxxxx]
Sent: Monday, November 17, 2003 4:20 PM
To: redhat-list@xxxxxxxxxx
Subject: Re: eth0 and eth1


Ed Wilts wrote:
> On Mon, Nov 17, 2003 at 02:26:16PM -0600, John Nichel wrote:
> 
>>  I've tried a few things, but to no avail, but I thought I should 
>>better explain what it is I'm trying to do, what I have done, and what 
>>my setup is in hopes that someone can understand my gibberish. :)
> 
> 
> Please provide the following:
> $ /sbin/ifconfig
> $ netstat -rn
> 
> Note that the route for 0.0.0.0 is your default route.  You don't
> usually specify it by giving it the adapter, but the address of the
> router.  If it's dynamically assigned, then you need to get that defined
> by dhcpd.
> 

[root@web01 root]# /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:18:F7:66:3B
           inet addr:192.168.0.99  Bcast:255.255.255.255  Mask:255.255.0.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1990 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1977 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:893708 (872.7 Kb)  TX bytes:341583 (333.5 Kb)
           Interrupt:9 Base address:0x8800

eth1      Link encap:Ethernet  HWaddr 00:09:5B:1B:68:F0
           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:515 errors:0 dropped:0 overruns:0 frame:0
           TX packets:874 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:51159 (49.9 Kb)  TX bytes:54366 (53.0 Kb)
           Interrupt:10

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:45981 errors:0 dropped:0 overruns:0 frame:0
           TX packets:45981 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3144129 (2.9 Mb)  TX bytes:3144129 (2.9 Mb)

[root@web01 root]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt 
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 
eth1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 
eth1
192.168.0.0     0.0.0.0         255.255.0.0     U         0 0          0 
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.1.254   0.0.0.0         UG        0 0          0 
eth0

-- 
By-Tor.com
It's all about the Rush
http://www.by-tor.com


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux