LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-11-2013, 10:25 AM   #1
MCLee
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Rep: Reputation: Disabled
About packet forwarding...


hey dudes!

I got some problemes about packet forwarding.

Actually, I installed win xp and centos6(64bit-based) on Vmware9.

And I schemed netowrk environment followings.


win xp----|vmnet3|----eth0_centos_eth1----|bridge|----Router

more details,


win xp's IP adress : 192.168.128.130


eth0 on centos's IP address : 192.168.128.131

eth1 on centos's IP address : 192.168.0.16

Router's internal gateway's IP address : 192.168.0.1


anyway, here's my goal

-> win xp shoulde be able to connect any external network clients.


So, I configured centos's network Interface-eth1 to follwoings.


/etc/sysctl.conf

net.ipv4.ip_forwarding=1


At last, I made centos forward packet which is input from win xp

to external network.


then I did a ping test on win xp to router's internal gateway

first.


But it couldn't make it .....yea it also couldn't suceed ping

external clients out of router.


you know, I had got message from centos' eth0.


In win_xp's cmd, I can see following message

->reply from 192.168.127.131 : Destination hsot unreachable.

and in centos, I used tcpdump to confrim what message apears.

centos' eth0 says,

->192.168.128.131.>192.168.128.130: ICMP host 192.168.0.1 unreachable - admin prohibitted


and then I thoght centos' firewall have problems.

so, I disabled firewall. I did ping test on win xp again.

but, I couldn't get any message....


what's the problem in this situation?

Please help me sove this matter. wating for your helps.

Last edited by MCLee; 02-11-2013 at 10:27 AM.
 
Old 02-12-2013, 03:09 AM   #2
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
Have you configured Router with a route to the vmnet3 network?
 
Old 02-12-2013, 08:34 AM   #3
MCLee
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TimothyEBaldwin View Post
Have you configured Router with a route to the vmnet3 network?
yea I did....
 
Old 02-12-2013, 09:17 AM   #4
jnihil
Member
 
Registered: Dec 2012
Location: inside the matrix
Distribution: Debian, Xubuntu, Gentoo, Antergos
Posts: 90

Rep: Reputation: 27
Can you ping the router from the CentOS box?
Do you have ACLs on the router interface?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Packet forwarding mutwkil Linux - Networking 2 03-29-2011 06:42 AM
Packet forwarding mutwkil Linux - Software 1 03-27-2011 11:02 AM
packet forwarding? one.eleven Linux - Networking 19 11-08-2006 03:35 AM
packet fragmentation in packet forwarding code cranium2004 Linux - Networking 0 05-16-2005 04:05 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

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

All times are GMT -5. The time now is 07:23 AM.

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