Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #175973
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Muhammad Yousuf Khan <sirtcp@gmail.com> |
| Newsgroups | linux.debian.user |
| Subject | Re: Sub interface not working in Debian 8 |
| Date | Tue, 27 Dec 2016 14:30:01 +0100 |
| Message-ID | <sSZZf-2Az-9@gated-at.bofh.it> (permalink) |
| References | <sSY77-1nC-3@gated-at.bofh.it> <sSZcR-22B-1@gated-at.bofh.it> <sSZwd-29x-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Tue Dec 27 13:20:38 2016 |
| Old-Return-Path | <sirtcp@gmail.com> |
| X-Amavis-Spam-Status | No, score=-5.799 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -7 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=rYpwsYgy848pQksDjjCNmmPrGuXn159tkoGR3Qwd3ZE=; b=qUZR2prfzyUKphdKRQ7vdt9tABWLrLZG8moUvALnhysN5UL0qhmaUAHlUL8uUrTYfV jkeRzF0YPz+PlAZuqBXmhhTIOMKdtckErkR9qean85d6lCg0a18ocNTugilXp54oErIb WAvVLntJ+w4UzXrOaVg3Bm6XehOlXW5Ig7I8ZU3tbxt15FvjH7lsNOAothGkvtzxeJ9i ebqW2I8aeBda6JlROoN4u6u9l36Xxh/I+xIz2eZhDu62wx6OFIZ7BGfbi+WuKn+GvuQM oxlV3loX3EXS2v6xLbhBrxOoa/FvFUWxEVVGiIVAfU6dX5SDNo8CpFoUTMyeRofysu5/ 7Prg== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rYpwsYgy848pQksDjjCNmmPrGuXn159tkoGR3Qwd3ZE=; b=htIG2SzjLdpOvH4bw5WOvc2fog98iuTJNrx/oHEoPIAJNnW3BsWiDxaK1T2bDBduQv /wbGVt5yUJPnVeRomG32tq69zthb7aI3xnefv4oLuANmHdJV3CNtZOuGRHDEfDxsYGH+ tJVUz70Z9984Dktqc8pWYvFJYsdG4BX1YTjsAJUucbpMf9L6PLjV83iWL6bO04RGL6R2 LhIcxpZiFXhjkyWetlwG0PmDgL2SlxnsMJKdT5Dp6C5dUtWKWsemomvl5TNdRvLn8Gnd aS2qssHKTLjZvjxEdy9XQvGePWWp0Ib83FNIs1/G1eXeNGuFJLIOYhugsnWXVN8hgs1v J72w== |
| X-Gm-Message-State | AIkVDXIkcyizDA1iflb7gBAwlR7lMJ8gpakehrkTARl8mXGoIA64uIrduj83dXN2dkR2oVMezeZClCxG+TB72Q== |
| X-Received | by 10.36.115.138 with SMTP id y132mr24755457itb.62.1482844824007; Tue, 27 Dec 2016 05:20:24 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary=001a1145bd88fe13ac0544a3b634 |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/715551 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/CAGWVfMmJh+7xcG+hDferh1N73o_w_7J=tp9tBXDqS7mjfbVTmQ@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 102 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 27 Dec 2016 18:20:23 +0500 |
| X-Original-Message-ID | <CAGWVfMmJh+7xcG+hDferh1N73o_w_7J=tp9tBXDqS7mjfbVTmQ@mail.gmail.com> |
| X-Original-References | <CAGWVfMmivcN84PS4aeefo1_aObKG2E+GrL-qj+5PuFHms=yniw@mail.gmail.com> <71d6453ccc98fe8faae601f9d29ece54@dds.nl> <CAGWVfMn0WUnKNkXfP0+hiVJT6517zw9VQpLxY0MwQEBumHfW1w@mail.gmail.com> |
| Xref | csiph.com linux.debian.user:175973 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
btw i never use ip command due to its complexity. i user route command instead. which is way more easier. however i tried your commands and it didn't work for me any help or idea guys? On Tue, Dec 27, 2016 at 5:58 PM, Muhammad Yousuf Khan <sirtcp@gmail.com> wrote: > I didnt route anything as default gateway was already there. can you > please explain your routes more. i didnt get the context of that routes you > define. > > On Tue, Dec 27, 2016 at 5:39 PM, Xen <list@xenhideout.nl> wrote: > >> Muhammad Yousuf Khan schreef op 27-12-2016 12:22: >> >> can you guys please guide what is going on . in old Debian version i >>> do this with no problem sub interfaces were very easy task. but here i >>> invest the whole day. >>> >> >> I must say I have run into many problems on my own machine but never this >> one. >> >> Are you sure your gateway recognises your secondary IP? >> >> I even have 2 IPs on such an alias and they all work fine: >> >> iface eth0 inet manual >> pre-up ip link set eth0 up >> >> iface eth0:0 inet dhcp >> >> iface eth0:1 inet static >> address 149.x.x.127 >> netmask 255.255.255.0 >> >> In my case I do additional routing: >> >> ip rule add from 149.x.x.127 (that's the secondary) lookup 2 >> ip route add default via 149.x.x.1 (gateway address for the second IP) >> table 2 >> >> >
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sub interface not working in Debian 8 Muhammad Yousuf Khan <sirtcp@gmail.com> - 2016-12-27 12:30 +0100
Re: Sub interface not working in Debian 8 Muhammad Yousuf Khan <sirtcp@gmail.com> - 2016-12-27 12:40 +0100
Re: Sub interface not working in Debian 8 Xen <list@xenhideout.nl> - 2016-12-27 13:40 +0100
Re: Sub interface not working in Debian 8 Muhammad Yousuf Khan <sirtcp@gmail.com> - 2016-12-27 14:00 +0100
Re: Sub interface not working in Debian 8 Muhammad Yousuf Khan <sirtcp@gmail.com> - 2016-12-27 14:30 +0100
Re: Sub interface not working in Debian 8 Muhammad Yousuf Khan <sirtcp@gmail.com> - 2016-12-27 14:30 +0100
Re: Sub interface not working in Debian 8 Xen <list@xenhideout.nl> - 2016-12-27 14:50 +0100
Re: Sub interface not working in Debian 8 Muhammad Yousuf Khan <sirtcp@gmail.com> - 2016-12-27 15:20 +0100
Re: Sub interface not working in Debian 8 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-27 15:40 +0100
Re: Sub interface not working in Debian 8 Xen <list@xenhideout.nl> - 2016-12-27 16:50 +0100
Re: Sub interface not working in Debian 8 Muhammad Yousuf Khan <sirtcp@gmail.com> - 2016-12-28 08:20 +0100
Re: Sub interface not working in Debian 8 Xen <list@xenhideout.nl> - 2016-12-28 10:20 +0100
Re: Sub interface not working in Debian 8 Muhammad Yousuf Khan <sirtcp@gmail.com> - 2016-12-30 14:30 +0100
csiph-web