Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: linux help!!

linux help!! 11 years 1 week ago #11592

  • monsky
  • monsky's Avatar
  • Offline
  • Distinguished Member
  • Posts: 177
  • Karma: 0
i installed another NIC in my FC4 unit for the purpose of learning squid. the eth0 to the internet and the eth1 to the private network.

the eth0 to the internet works fine but with the eth1 i cant even ping the other workstation (station1) connected to it and vice-versa (station1 to eth1)

eth0 is 192.168.1.11 255.255.255.0
eth1 is 192.168.0.254 255.255.255.0

station1 is 192.168.0.69 255.255.255.0

i checked the cables and connectors and im sure it has no problem.

when i pinged from the network of eth0 (192.168.1.x) it works fine. but when i pinged from the eth1 (192.168.0.x) to the station1 (192.168.0.69) it says "Destination Host Unreachable".

do i missing something? is it with the ipchains or iptables stuff? i tried to google these 2 but seems its still confusing to me.

your help guys greatly appreciated.

thanks in advance :D
The administrator has disabled public write access.

Re: linux help!! 11 years 1 week ago #11594

  • reaper
  • reaper's Avatar
  • Offline
  • New Member
  • Posts: 17
  • Karma: 0
Hmm, are you sure you could ping from 192.168.1.x to station? They are on a different subnet, do you have a default gateway set? How are they connected, please describe the connection and the products you use. Also some output from ping would be good. Also some output from ifconfig would be nice.
The administrator has disabled public write access.

Re: linux help!! 11 years 1 week ago #11597

  • monsky
  • monsky's Avatar
  • Offline
  • Distinguished Member
  • Posts: 177
  • Karma: 0
no i mean i can ping from eth0 (192.168.1.11) to the modem/router which is 192.168.1.1, so i could be able to use internet.

modem/router(192.168.1.1)

|
|
eth0 (192.168.1.11)
FC4
eth1(192.68.0.254)
|
|
switch (linksys ef3124)
|
station1 (192.168.0.69)

iptables list?

[root@localhost monsky]# /sbin/iptables -L
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere
anywhere

Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere
anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251
udp dpt:5353
ACCEPT udp -- anywhere anywhere
udp dpt:ipp
ACCEPT all -- anywhere anywhere
state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere
state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere
reject-with icmp-host-prohibited

i am using linksys switch so that i could be able to connect more stations
The administrator has disabled public write access.

Re: linux help!! 11 years 1 week ago #11598

  • monsky
  • monsky's Avatar
  • Offline
  • Distinguished Member
  • Posts: 177
  • Karma: 0
the iptables i posted was the default setup, no changes made yet

patience pls. :oops:
The administrator has disabled public write access.

Re: linux help!! 11 years 1 week ago #11599

  • monsky
  • monsky's Avatar
  • Offline
  • Distinguished Member
  • Posts: 177
  • Karma: 0
and how would the ping command know that you have 2 NICs and the 192.168.0.x network exists or you have had setup more than 1 networks on that FC4 unit. what the the stuffs involved.
The administrator has disabled public write access.

Re: linux help!! 11 years 1 week ago #11605

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Posts: 1302
  • Karma: 1
As reaper noted earlier, do you have a default gateway set? It's probably set to eth0. You will need to add a static route so that your local network is accessible.
The administrator has disabled public write access.
Time to create page: 0.084 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup