Hirdetés

Új hozzászólás Aktív témák

  • felora:)

    tag

    sziasztok!

    iptv-vel és egyben igmpproxyval kapcsolatban szeretnék segítséget kérni , bár ezidáig nem nagyon kaptam választ egyik kérdésemre sem. :))

    A hálózat a így épül fel most: T-HOME Zte "router", ami igazából csak "DSL bridgeként" funkcionál. A ZTE -ből utp kábelen egy hálózati kártyába megy, ez pppoe -n keresztül csatlakozik a nethez, a gép másik hálózati kártyáján a gép DHCP -vel 192.168.1.2 - 192.168.1.250 között oszt címet. A beltéri egység IP címe 192.168.1.74/24 (tehát az alhálózati maszk 255.255.255.0) Az a baj, hogy a netes leírások alapján csináltam mindent, de nem akar üzemelni.... A leírást, ami alapján csináltam itt található: [link] Mi lehet a gond?

    igmpproxy -dvv /etc/igmpproxy.conf ezt hozza ki:

    Network for [green0] : 192.168.1/24
    Network for [green0] : 192.168.1/24
    adding VIF, Ix 1 Fl 0x0 IP 0x2a8f06bc ppp0, Threshold: 1, Ratelimit: 0
    Network for [ppp0] : 188.6.143.42/32
    Network for [ppp0] : 10/8
    Network for [ppp0] : 224/4
    Network for [ppp0] : 94.22.149/24
    Network for [ppp0] : 81.209.0/24
    Network for [ppp0] : 213.250.65/24
    Got 262144 byte buffer size in 0 iterations
    Joining all-routers group 224.0.0.2 on vif 192.168.1.1
    joinMcGroup: 224.0.0.2 on green0
    SENT Membership query from 192.168.1.1 to 224.0.0.1
    Sent membership query from 192.168.1.1 to 224.0.0.1. Delay: 10
    Created timeout 1 (#0) - delay 10 secs
    (Id:1, Time:10)
    Created timeout 2 (#1) - delay 21 secs
    (Id:1, Time:10)
    (Id:2, Time:21)
    RECV Membership query from 192.168.1.1 to 224.0.0.1
    RECV V2 member report from 192.168.1.1 to 224.0.0.2
    The IGMP message was from myself. Ignoring.
    RECV Membership query from 192.168.2.1 to 224.0.0.1
    RECV Membership query from 192.168.2.1 to 224.0.0.1
    RECV V2 member report from 192.168.1.1 to 239.255.255.250
    The IGMP message was from myself. Ignoring.
    The source address 192.168.1.1 for group 239.255.255.250, is not in any valid net for upstream VIF.
    RECV V2 member report from 192.168.1.1 to 224.0.0.2
    The IGMP message was from myself. Ignoring.
    About to call timeout 1 (#0)
    Aging routes in table.

    Current routing table (Age active routes):
    -----------------------------------------------------
    No routes in table...
    -----------------------------------------------------
    The source address 192.168.0.1 for group 239.255.255.250, is not in any valid net for upstream VIF.
    ^Cselect() failure; Errno(4): Interrupted system call
    Got a interupt signal. Exiting.
    clean handler called
    All routes removed. Routing table is empty.
    Shutdown complete....
    [root@vivap ~]# clear
    [root@vivap ~]# igmpproxy -dvv /etc/igmpproxy.conf
    Searching for config file at '/etc/igmpproxy.conf'
    Config: Quick leave mode enabled.
    Config: Got a phyint token.
    Config: IF: Config for interface ppp0.
    Config: IF: Got upstream token.
    Config: IF: Got ratelimit token '0'.
    Config: IF: Got threshold token '1'.
    Config: IF: Got altnet token 10.0.0.0/8.
    Config: IF: Altnet: Parsed altnet to 10/8.
    Config: IF: Got altnet token 224.0.0.0/4.
    Config: IF: Altnet: Parsed altnet to 224/4.
    Config: IF: Got altnet token 94.22.149.0/24.
    Config: IF: Altnet: Parsed altnet to 94.22.149/24.
    Config: IF: Got altnet token 81.209.0.0/24.
    Config: IF: Altnet: Parsed altnet to 81.209.0/24.
    Config: IF: Got altnet token 213.250.65.0/24.
    Config: IF: Altnet: Parsed altnet to 213.250.65/24.
    IF name : ppp0
    Next ptr : 0
    Ratelimit : 0
    Threshold : 1
    State : 1
    Allowednet ptr : 1f8c710
    Config: Got a phyint token.
    Config: IF: Config for interface green0.
    Config: IF: Got downstream token.
    Config: IF: Got ratelimit token '0'.
    Config: IF: Got threshold token '1'.
    Config: IF: Got altnet token 192.168.1.74/24.
    Config: IF: Altnet: Parsed altnet to 192.168.1/24.
    IF name : green0
    Next ptr : 0
    Ratelimit : 0
    Threshold : 1
    State : 2
    Allowednet ptr : 1f8c810
    Config: Got a phyint token.
    Config: IF: Config for interface blue0.
    Config: IF: Got disabled token.
    IF name : blue0
    Next ptr : 0
    Ratelimit : 0
    Threshold : 1
    State : 0
    Allowednet ptr : 0
    Config: Got a phyint token.
    Config: IF: Config for interface ppp0.
    Config: IF: Got disabled token.
    IF name : ppp0
    Next ptr : 0
    Ratelimit : 0
    Threshold : 1
    State : 0
    Allowednet ptr : 0
    Config: Got a phyint token.
    Config: IF: Config for interface red0.
    Config: IF: Got disabled token.
    IF name : red0
    Next ptr : 0
    Ratelimit : 0
    Threshold : 1
    State : 0
    Allowednet ptr : 0
    Config: Got a phyint token.
    Config: IF: Config for interface green1.
    Config: IF: Got disabled token.
    IF name : green1
    Next ptr : 0
    Ratelimit : 0
    Threshold : 1
    State : 0
    Allowednet ptr : 0
    Config: Got a phyint token.
    Config: IF: Config for interface lo.
    Config: IF: Got disabled token.
    IF name : lo
    Next ptr : 0
    Ratelimit : 0
    Threshold : 1
    State : 0
    Allowednet ptr : 0
    buildIfVc: Interface lo Addr: 127.0.0.1, Flags: 0x0049, Network: 127/8
    buildIfVc: Interface green0 Addr: 192.168.1.1, Flags: 0x1043, Network: 192.168.1/24
    buildIfVc: Interface ppp0 Addr: 188.6.143.42, Flags: 0x00d1, Network: 188.6.143.42/32
    Found config for green0
    Found config for ppp0
    adding VIF, Ix 0 Fl 0x0 IP 0x0101a8c0 green0, Threshold: 1, Ratelimit: 0
    Network for [green0] : 192.168.1/24
    Network for [green0] : 192.168.1/24
    adding VIF, Ix 1 Fl 0x0 IP 0x2a8f06bc ppp0, Threshold: 1, Ratelimit: 0
    Network for [ppp0] : 188.6.143.42/32
    Network for [ppp0] : 10/8
    Network for [ppp0] : 224/4
    Network for [ppp0] : 94.22.149/24
    Network for [ppp0] : 81.209.0/24
    Network for [ppp0] : 213.250.65/24
    Got 262144 byte buffer size in 0 iterations
    Joining all-routers group 224.0.0.2 on vif 192.168.1.1
    joinMcGroup: 224.0.0.2 on green0
    SENT Membership query from 192.168.1.1 to 224.0.0.1
    Sent membership query from 192.168.1.1 to 224.0.0.1. Delay: 10
    Created timeout 1 (#0) - delay 10 secs
    (Id:1, Time:10)
    Created timeout 2 (#1) - delay 21 secs
    (Id:1, Time:10)
    (Id:2, Time:21)
    RECV Membership query from 192.168.1.1 to 224.0.0.1
    RECV V2 member report from 192.168.1.1 to 224.0.0.2
    The IGMP message was from myself. Ignoring.
    RECV V2 member report from 192.168.1.1 to 239.255.255.250
    The IGMP message was from myself. Ignoring.
    The source address 192.168.1.1 for group 239.255.255.250, is not in any valid net for upstream VIF.
    About to call timeout 1 (#0)
    Aging routes in table.

    Current routing table (Age active routes):
    -----------------------------------------------------
    No routes in table...
    -----------------------------------------------------
    The source address 192.168.0.1 for group 239.255.255.250, is not in any valid net for upstream VIF.
    About to call timeout 2 (#0)
    SENT Membership query from 192.168.1.1 to 224.0.0.1
    Sent membership query from 192.168.1.1 to 224.0.0.1. Delay: 10
    Created timeout 3 (#0) - delay 10 secs
    (Id:3, Time:10)
    Created timeout 4 (#1) - delay 21 secs
    (Id:3, Time:10)
    (Id:4, Time:21)
    RECV Membership query from 192.168.1.1 to 224.0.0.1
    The source address 192.168.0.1 for group 239.255.255.250, is not in any valid net for upstream VIF.
    ^Cselect() failure; Errno(4): Interrupted system call
    Got a interupt signal. Exiting.
    clean handler called
    All routes removed. Routing table is empty.
    Shutdown complete....
    [root@vivap ~]#

    igmpproxy.conf:

    ##------------------------------------------------------
    ## Enable Quickleave mode (Sends Leave instantly)
    ##------------------------------------------------------
    quickleave


    ##------------------------------------------------------
    ## Configuration for eth0 (Upstream Interface)
    ##------------------------------------------------------
    phyint ppp0 upstream ratelimit 0 threshold 1
    altnet 10.0.0.0/8
    altnet 224.0.0.0/4 #Multicast
    altnet 94.22.149.0/24 #Anvia Watson IPTV provider
    altnet 81.209.0.0/24 # Anvia Watson IPTV Provider
    altnet 213.250.65.0/24 ## Anvia Watson IPTV Provider
    ##------------------------------------------------------
    ## Configuration for eth1 (Downstream Interface)
    ##------------------------------------------------------
    phyint green0 downstream ratelimit 0 threshold 1
    altnet 192.168.1.74/24 # IPTV Box
    # altnet 224.0.0.0/24

    ##------------------------------------------------------
    ## Configuration for eth2 (Disabled Interface)
    ##------------------------------------------------------
    #phyint eth2 disabled
    phyint blue0 disabled
    #phyint tun0 disabled
    phyint ppp0 disabled
    #phyint imq0 disabled
    #phyint mast0 disabled
    phyint red0 disabled
    phyint green1 disabled
    phyint lo disabled

    firewall.local, hogy automatikusan induljon a dolog, ha felállt a rendszer:

    #!/bin/sh
    # Used for private firewall rules

    # See how we were called.
    case "$1" in
    start)
    ## add your 'start' rules here
    /usr/local/sbin/igmpproxy /etc/igmpproxy.conf &

    # for igmpproxy
    /sbin/iptables -I INPUT -i ppp0 -d 224.0.0.0/4 -j ACCEPT
    /sbin/iptables -I FORWARD -i ppp0 -d 224.0.0.0/4 -j ACCEPT
    # end for igmpproxy
    ;;
    stop)
    ## add your 'stop' rules here
    # for igmpproxy
    /sbin/iptables -D INPUT -i ppp0 -d 224.0.0.0/4 -j ACCEPT
    /sbin/iptables -D FORWARD -i ppp0 -d 224.0.0.0/4 -j ACCEPT
    killall igmpproxy
    ;;
    reload)
    $0 stop
    $0 start
    ## add your 'reload' rules here
    ;;
    *)
    echo "Usage: $0 {start|stop|reload}"
    ;;
    esac

Új hozzászólás Aktív témák