[CentOS] how to capture packets that was forwarded

Jaze Lee jazeltq at gmail.com
Tue Apr 16 12:57:37 UTC 2013


2013/4/16 Andy Smith <spookza at gmail.com>

> Hi Jaze
>
>
> On 16 April 2013 09:52, Jaze Lee <jazeltq at gmail.com> wrote:
>
> > hello,
> > the topology is like this:
> >
> >  centos v0:eth1 <------> centos v0: eth2
> >   fc00:2:3:4::1                      fc00:2:3::4
> >
> > i turned the packet forwarding
> >
>
> If you are talking about forwarding on Centos V0, forwarding will have no
> effect here.  You appear to be trying to ping eth1 from a box somewhere on
> eth2's network.
> This is still classed as an input to V0 and will be handled by the INPUT
> chain.
>
> >
> > ping6 -i eth2 fc00:2:3:4::1
> > the output is
> >
> > PING fc00:2:3:4::1(fc00:2:3:4::1) from fc00:2:3::5 eth2: 56 data bytes
> > >From fc00:2:3::4 icmp_seq=1 Destination unreachable: Administratively
> > prohibited
> > >From fc00:2:3::4 icmp_seq=2 Destination unreachable: Administratively
> > prohibited
> > >From fc00:2:3::4 icmp_seq=3 Destination unreachable: Administratively
> > prohibited
> > >From fc00:2:3::4 icmp_seq=4 Destination unreachable: Administratively
> > prohibited
> >
>
> Administratively prohibited looks like a firewall issue.
> Check your IPv6 firewall settings on V0
>
   Thanks, it is truely because firewall issue. It's ok when i turned
ip6tables stoped.
    Thank you all the same

>
> >
> > why the box do not forwarding icmp packets to eth2?
> > and how to set forwarding rules on centos 6.3?
> > Thanks
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
谦谦君子



More information about the CentOS mailing list