Roman, I've never tried this myself, but I think that other option would be to use iptables' OUTPUT chain with "-o your virtual interface". You can also restrict this rule to filter only DNS ports and so on.
Another option is to use static routes, like Mihamina suggested. Cheers, On Fri, Aug 3, 2012 at 2:05 AM, Roman Gelfand <rgelfa...@gmail.com> wrote: > I have configured 2 vlan interfaces on debian lenny box. The 2 > interface ip's are 192.168.6.5 and 192..168.8.5. I would like making > dns queries from this ip 192.168.6.5. What can be done to ensure that > a dns query is made using specific response ip? > > Thanks in advance > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/CAJbW+r=lrk76zlzynpa96mjg-3ohubxxar0mw6wkwlqssa-...@mail.gmail.com > -- Pedro Eugênio Rocha -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cam3ffdyrpt-6byqvu457adi19npn7+a42tpvjfbemxptlyu...@mail.gmail.com