Computing.Net > Forums > Linux > Class C to Class A thru Linux firewall

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Class C to Class A thru Linux firewall

Reply to Message Icon

Name: meg
Date: June 29, 2001 at 10:25:47 Pacific
Comment:

I have a private Class C network set up with a Linux firewall separating it from a public Class A network. The IP on eth0 is 207.247.227.1 and eth1 is 10.1.100.1 I can ping everywhere I need to (the 207 to the 10.1.100.* and the 10.*.*.* to anywhere on 207.247.227.*) but I can't ping from 207.247.227.* to 10.1.5.* I'm pretty new to this and I've been reading up on subnetting and classes. It seems to me that I should be able to do
route add -net 207.247.227.0 gw 10.0.0.0 netmask 255.255.255.0 to hit it, but to no avail. I've tried variations on this and I think that there is something I'm simply not grasping. If anyone can help, thank you!!!



Sponsored Link
Ads by Google

Response Number 1
Name: NetPortal
Date: June 29, 2001 at 23:58:43 Pacific
Reply:

Brrrr....

10.0.0.0 can not have 255.255.255.0 netmask, if it is not a CIDR network.
I have no ideas about your network topology, but if the problem is only to ping from 207.247.227.* to 10.1.5.* , check the gateway routing table to/from this networks, and also try to traceroute packages to handle the problem with routing.


0

Response Number 2
Name: mike blum
Date: July 1, 2001 at 12:57:34 Pacific
Reply:

well as NetPortal pointed out, you may have mixed up netmasks and private/public address ranges.

- Class A - 1st byte Address range 1 - 126 default mask 255.0.0.0
- Class B - 1st byte Address range 128 - 191 default mask 255.255.0.0
- Class C - 1st byte Address range 192 - 223 default mask 255.255.255.0

IP address space for private internal networks:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255

This private address range will not be routed in the Internet.
Do you use masquerading on your firewall ? It's a special kind of network address translation used to connect private internal networks with the internet.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Class C to Class A thru Linux firewall

Trying to gain a general Linux knowledge www.computing.net/answers/linux/trying-to-gain-a-general-linux-knowledge/12584.html

MS Exchange with Linux Firewall www.computing.net/answers/linux/ms-exchange-with-linux-firewall/8752.html

C&C Generals and linux firewall www.computing.net/answers/linux/campc-generals-and-linux-firewall/18596.html