[NCLUG] configuring dual IP addresses, forwarding one to the other network card.

John Gilmore j.arthur.gilmore at gmail.com
Tue May 27 14:12:24 MDT 2014


Got it. bridged it:
brctl addbr br0
brctl addif eth0
brctl addif eth1
ifconfig br0 192.168.34.51/24
route add default gw 10.168.40.1 br0

(IIRC)

Wasn't a windows computer, somebody had queued up about 50 print jobs
on a laptop.... which wasn't showing up in the GUI "view print queue"
stuff. I nuked the /var/spool/cups directory, problem solved.

On Tue, May 27, 2014 at 12:08 PM, Andrew Gilmore <agilmore2 at gmail.com> wrote:
> On May 27, 2014 12:00 PM, <nclug-request at lists.nclug.org> wrote:
>> Date: Tue, 27 May 2014 11:27:20 -0600
>> From: John Gilmore <j.arthur.gilmore at gmail.com>
>> To: Northern Colorado Linux Users Group <nclug at lists.nclug.org>
>> Subject: [NCLUG] configuring dual IP addresses, forwarding one to the
>>         other network card.
>> Message-ID:
>>         <CAD9ZuxBJc9i1w-Z5qM=xFuO2mdhRCiMzdHkDWpg0F=
> KBAFi8pw at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> I want to give my computer two IP addresses on eth1, and forward one
>> of them transparently out eth0, in order to monitor network traffic to
>> my printer.
>>
>> Script/suggestions? I figure one of you guys knows how to do this
>> right of the top of your head.
>
> I just stick an old 10mbit hub I have laying around between the printer and
> the router, and tcpdump the traffic from the hub.
>
> Otherwise, you can bridge the traffic or as the other guy said, just
> reassign the IP and wireshark it.
>
> Andrew
> _______________________________________________
> NCLUG mailing list       NCLUG at lists.nclug.org
>
> To unsubscribe, subscribe, or modify
> your settings, go to:
> http://lists.nclug.org/mailman/listinfo/nclug


More information about the NCLUG mailing list